query-ca56fe8b2b48b6a3586897a04aadd504

rq turtle/ttl

TODO

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#>
# Map of all GLAM institutions in Germany
#defaultView:Map
SELECT DISTINCT ?GLAM ?GLAMLabel ?coord #?TypeLabel  
WHERE {
 ?GLAM wdt:P31/wdt:P279* wd:Q1030034;
       wdt:P17 wd:Q183.

  OPTIONAL { ?GLAM wdt:P625 ?coord. }
#  OPTIONAL { ?GLAM wdt:P31 ?Type. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de". }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?GLAM"):::projected v2("?coord"):::projected a1((" ")) c10(["#91;AUTO_LANGUAGE#93;,de"]):::literal c8(["bd:serviceParam"]):::iri c5(["wd:Q183"]):::iri c3(["wd:Q1030034"]):::iri v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c3 v1 --"wdt:P17"--> c5 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v1 -."wdt:P625".-> v2 end subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end