Thread:Semantic-mediawiki.org:Community portal/How to create advanced queries with a series of AND/OR's?/reply

On IRC you said you found the answer; for completeness an answer here as well: Therefore, your question could be answered  |black OR |green  You can read this as  ( |black ) OR ( |green )  Since you can't actually use the brackets, you need to repeat the common part for every disjoint selection, as shown with the Category selector.
 * Firstly, you can combine OR for property values:  | ||..... 
 * Secondly, you cannot use brackets to group unions/disjoints, so grouping selection criteria works standard left-to-right, with AND stronger than OR.