query-dafa125be61d3e63eab0496a4df51d73
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?itemDescription ?obit ?obitLabel ?obitDescription
WHERE
{
?item wdt:P2536 ?value .
BIND( URI ( CONCAT("http://www.wikidata.org/entity/", ?value)) as ?obit)
?obit wdt:P921 ?item
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?obit"):::projected
v2("?value")
c4(["bd:serviceParam"]):::iri
c6(["en"]):::literal
v1 --"wdt:P2536"--> v2
bind0[/"concat('http://www.wikidata.org/entity/',?value)"/]
v2 --o bind0
bind0 --as--o v3
v3 --"wdt:P921"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c4 --"wikibase:language"--> c6
end