query-cbece174e77bafe871b19ac6eecaa354
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?pq_obj ?pq_objLabel WHERE {
?item p:P31 ?statement .
?statement ps:P31 wd:Q502895 .
?statement pq:P642 ?pq_obj .
?pq_qual wikibase:qualifier pq:P642 .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,de,fr,pl" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
v3("?pq_obj"):::projected
v4("?pq_qual")
v2("?statement")
c4(["p:qualifier/P642"]):::iri
c7(["bd:serviceParam"]):::iri
c3(["wd:Q502895"]):::iri
c9(["en,de,fr,pl"]):::literal
v1 --"p:P31"--> v2
v2 --"p:statement/P31"--> c3
v2 -->c4--> v3
v4 --"wikibase:qualifier"--> c4
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end