query-fb8d3b1188479f8bb6b3d79e76a7cbf1
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 pqv: <http://www.wikidata.org/prop/qualifier/value/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT distinct ?item WHERE {
?item p:P2962 [ ps:P2962 wd:Q105269 ; ?prop [] ] . # equivalent for ?item p:P2962 ?statement . ?statement ps:P2962 wd:Q105269 . ?statement ?prop ?anything .
?mprop a wikibase:Property . # finding the properties entity
?mprop wikibase:qualifierValue ?prop . # ensure that ?prop is the qualifier equivalent of some property.
filter (! (?prop = pqv:P143))
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v3("?mprop")
v1("?prop")
a2((" "))
a1((" "))
c6(["wikibase:Property"]):::iri
c3(["wd:Q105269"]):::iri
f0[["not ?prop = 'p:qualifier/value/P143'"]]
f0 --> v1
a1 --"p:statement/P2962"--> c3
a1 -->v1--> a2
v2 --"p:P2962"--> a1
v3 --"a"--> c6
v3 --"wikibase:qualifierValue"--> v1