query-20b1c10df39b90224171b3c02a5e81be
First queries after improving ownership data of Shipley and HeatonOwner has a notable work Manor estates in Bradford with owners?
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 ?ownerLabel ?work ?workLabel ?depictedLabel ?imageLabel #added a Label here
WHERE { ?item wdt:P31 wd:Q2116450 . #manor estates
?item wdt:P131 wd:Q22905 . #located in Bradford
?item wdt:P127 ?owner . #with owners
?owner wdt:P800 ?work . #has notable work
?work wdt:P1299 ?depicted .
OPTIONAL { ?depicted wdt:P18 ?image . }
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". } #added labelservice here
}
Limit 10
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?depicted")
v5("?image")
v1("?item"):::projected
v2("?owner")
v3("?work"):::projected
c10(["bd:serviceParam"]):::iri
c2(["wd:Q2116450"]):::iri
c4(["wd:Q22905"]):::iri
c12(["#91;AUTO_LANGUAGE#93;,en"]):::literal
v1 --"wdt:P31"--> c2
v1 --"wdt:P131"--> c4
v1 --"wdt:P127"--> v2
v2 --"wdt:P800"--> v3
v3 --"wdt:P1299"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."wdt:P18".-> v5
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c10 --"wikibase:language"--> c12
end