query-8d30075f59bae98367e7836453edf2f7

rq turtle/ttl

Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462) Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462) Carte des musées des Pays-Bas avec une couleur indiquant s'ils acceptent le Museumkaart (Q2237462) Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462) Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462) Kaart van musea in Nederland met een kleur die aangeeft of ze de Museumkaart (Q2237462) aanvaarden Karta över museer i Nederländerna med en färg som anger att de accepterar Museumkaart (Q2237462) Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462) Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462) Map of museums in the Netherlands with a color indicating if they accept the Museumkaart (Q2237462)

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
select ?museum ?museumLabel ?layer (sample(?location) as ?location) where {
  ?museum wdt:P31/wdt:P279* wd:Q33506;
          wdt:P17 wd:Q55;
          wdt:P625 ?location.
  optional { ?museum wdt:P2851 ?layer. }
  service wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en,nl". }
} group by ?museum ?museumLabel ?layer

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v3("?layer"):::projected v4("?location"):::projected v1("?museum"):::projected a1((" ")) c11(["#91;AUTO_LANGUAGE#93;,en,nl"]):::literal c3(["wd:Q33506"]):::iri c9(["bd:serviceParam"]):::iri c5(["wd:Q55"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P17"--> c5 v1 --"wdt:P625"--> v4 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P2851".-> v3 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c9 --"wikibase:language"--> c11 end bind1[/"sample(?location)"/] v4 --o bind1 bind1 --as--o v4