Event Matching
An event is a set of (attribute, value) pairs
- {(category, book), (title, Hamlet ) , (price, $20), (author, Sheakespeare)}
A subscription is a conjunction of predicates
- (category = book) & (title = Hamlet )
An event e satisfies a subscription s if every predicate in s is matched by some pair in e.