query-5b21fe541cf51797b2358551328963ea
TODO
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 bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?Kid ?located_in_ ?located_in_Label ?heritage_designation_ ?heritage_designation_Label ?instance_of_ ?instance_of_Label ?image ?coordinates ?use_ ?use_Label
WHERE
{
?item wdt:P758 ?Kid .
?item wdt:P131* wd:Q50627 .
?item wdt:P131 ?located_in_ .
OPTIONAL {?item wdt:P625 ?coordinate . }
OPTIONAL {?item wdt:P1435 ?heritage_designation_ . }
OPTIONAL {?item wdt:P31 ?instance_of_ . }
OPTIONAL {?item wdt:P18 ?image . }
OPTIONAL {?item wdt:P366 ?use_ . }
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("?Kid"):::projected
v4("?coordinate")
v5("?heritage_designation_"):::projected
v7("?image"):::projected
v6("?instance_of_"):::projected
v1("?item"):::projected
v3("?located_in_"):::projected
v8("?use_"):::projected
c10(["bd:serviceParam"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
c3(["wd:Q50627"]):::iri
v1 --"wdt:P758"--> v2
v1 --"wdt:P131"--> c3
v1 --"wdt:P131"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P625".-> v4
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P1435".-> v5
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P31".-> v6
end
subgraph optional3["(optional)"]
style optional3 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P18".-> v7
end
subgraph optional4["(optional)"]
style optional4 fill:#bbf,stroke-dasharray: 5 5;
v1 -."wdt:P366".-> v8
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end