query-bd8694f350b6bc6ec0cc17a2272ced1e
Karte
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#defaultView:Map
SELECT DISTINCT ?gastro ?gastroLabel ?gastroDescription ?address ?geo
WHERE
{
?gastro wdt:P31 wd:Q88985865.
?gastro p:P31/prov:wasDerivedFrom/pr:P248 wd:Q116817818.
?gastro wdt:P131 wd:Q2112.
OPTIONAL { ?gastro wdt:P6375 ?address. }
OPTIONAL { ?gastro wdt:P625 ?geo. }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?address"):::projected
v1("?gastro"):::projected
v3("?geo"):::projected
a1((" "))
a2((" "))
c2(["wd:Q88985865"]):::iri
c6(["wd:Q116817818"]):::iri
c12(["bd:serviceParam"]):::iri
c14(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c8(["wd:Q2112"]):::iri
v1 --"p:direct/P31"--> c2
v1 --"p:P31"--> a1
a1 --"prov:wasDerivedFrom"--> a2
a2 --"p:reference/P248"--> c6
v1 --"p:direct/P131"--> c8
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P6375".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."p:direct/P625".-> v3
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c12 --"wikibase:language"--> c14
end