query-92e86cdc3ff0302d811365189e8ae1cd
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?asObject ?asObjectLabel
WHERE
{
?prop pq:P794 ?asObject .
?item ?p ?prop .
?property wikibase:claim ?p .
?property wikibase:statementProperty ?ps .
?prop ?ps ?value .
wd:P128 wikibase:claim ?p .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 10000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?asObject"):::projected
v3("?item"):::projected
v4("?p")
v1("?prop")
v5("?property")
v6("?ps")
v7("?value")
c6(["bd:serviceParam"]):::iri
c4(["wd:P128"]):::iri
c8(["en"]):::literal
v1 --"pq:P794"--> v2
v3 -->v4--> v1
v5 --"wikibase:claim"--> v4
v5 --"wikibase:statementProperty"--> v6
v1 -->v6--> v7
c4 --"wikibase:claim"--> v4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c6 --"wikibase:language"--> c8
end