You construct complex search expressions by combining all of the techniques outlined above. Ontolica interprets your search expressions using the standard rules for Boolean operations. Use Boolean operators to connect clauses and parenthesis to organize the clauses. You can also include property-search clauses using the Ontolica property-search syntax.
When a parenthesis is used, the operations within the innermost pair is performed first, followed by the next pair out, etc., until all operations within parentheses have been completed. Then any operations outside the parentheses are performed.
Please see a mathematical reference for complete details about how to compose and resolve complex Boolean expressions.