Efficiently evaluating complex boolean expressions
Storing and querying ordered XML using a relational database system