Stores and restaurants
De Semantic MediaWiki - Sandbox
Query
{{#compound_query: [[Category:Stores]] [[Sells products::+]] ;?Has country=Country ;?Sells products=Products | [[Category:Restaurants]] [[Has cuisine::+]] ;?Has country=Country ;?Has cuisine=Cuisine |format=table }}
Result
See also
- Help page on the "CompoundQuery" API module using this setup as an example.