query-bb7016e9d90c560f2fefd4a4e8dbcdab
Alexmar983Wikidata:Request a query
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 ?building ?buildingLabel where {
?building wdt:P31/wdt:P279* wd:Q41176 .
?building wdt:P576 [] .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "en" .
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?building"):::projected
a2((" "))
a1((" "))
c6(["bd:serviceParam"]):::iri
c3(["wd:Q41176"]):::iri
c8(["en"]):::literal
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c3
v1 --"wdt:P576"--> a2
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end