Patch: query-optimizer
Type: feature

Query optimisation for SemanticMediaWiki:
* Identical subqueries with disjunctions and negations are executed only once
* Identical terms are removed from disjunctions and conjunctions (i.e. "a AND a" and "a OR a")