How Can I Make a table using two different categories?
From semantic-mediawiki.org
Fragment of a discussion from Help talk:Inline queries
Sounds like this is what you are looking for: {{#ask: [[Category:CatOneName||CatTwoName]] ...
More info: Help:Selecting_pages#Unions_of_query_results:_disjunctions