« Stores and restaurants » : différence entre les versions
De Semantic MediaWiki - Sandbox
(add) |
(chg) |
||
(3 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 5 : | Ligne 5 : | ||
[[Sells products::+]] | [[Sells products::+]] | ||
;?Has country=Country | ;?Has country=Country | ||
;?Sells products=Products | |||
| | | | ||
[[Category:Restaurants]] | [[Category:Restaurants]] | ||
[[Has cuisine::+]] | [[Has cuisine::+]] | ||
;?Has country=Country | ;?Has country=Country | ||
;?Has cuisine=Cuisine | |||
|format=table | |format=table | ||
}} | }} | ||
Ligne 18 : | Ligne 20 : | ||
[[Sells products::+]] | [[Sells products::+]] | ||
;?Has country=Country | ;?Has country=Country | ||
;?Sells products=Products | |||
| | | | ||
[[Category:Restaurants]] | [[Category:Restaurants]] | ||
[[Has cuisine::+]] | [[Has cuisine::+]] | ||
;?Has country=Country | ;?Has country=Country | ||
;?Has cuisine=Cuisine | |||
|format=table | |format=table | ||
}} | }} | ||
[[Category:Semantic Compound | == See also == | ||
* Help page on the [[semantic-mw:Help:CompoundQuery|"CompoundQuery" API module]] using this setup as an example. | |||
[[Category:Semantic Compound Queries example]] |
Dernière version du 6 octobre 2019 à 19:11
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.