Discussion:Stores and restaurants

De Semantic MediaWiki - Sandbox

Example

Not sure if the example is good enough... With a "normal" ask query, I get the same results:

{{#ask:
 [[Category:Stores]] [[Sells products::+]] OR [[Category:Restaurants]] [[Has cuisine::+]]
 |?Has country=Country
 |?Sells products=Products
 |?Has cuisine=Cuisine
 |format=table
}}

Result

 CountryProductsCuisine
Da RenzoItalyItalian
David JonesAustraliaCosmetics
Fashion
Homewares
Furniture
Electrical
Food
Kaufhaus des WestensGermanyCosmetics
Fashion
Accessories
MarralGermanyMesopotamian
PrintempsFranceCosmetics
Fashion
Accessories

--Jaider msg 3 octobre 2019 à 21:37 (CEST)

You are right. I just took the first example from the extensions homepage. However this extension was originally created to display different markers for different types of "events" on maps. I believe this is there the magic starts. Perhaps you could try to set up an example for this on this wiki. Cheers --[[kgh]] (discussion) 6 octobre 2019 à 19:14 (CEST)
Les cookies nous aident à fournir nos services. En utilisant nos services, vous acceptez notre utilisation de cookies.