query-0423a773da9f1e36c3a197d1e6c4d732
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 prov: <http://www.w3.org/ns/prov#>
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 ; prov:wasDerivedFrom [ ?prop [] ] ] .
?mprop a wikibase:Property .
?mprop wikibase:referenceValue ?prop .
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")
a3((" "))
a1((" "))
a2((" "))
c7(["wikibase:Property"]):::iri
c3(["wd:Q105269"]):::iri
f0[["not ?prop = 'p:qualifier/value/P143'"]]
f0 --> v1
a1 --"p:statement/P2962"--> c3
a2 -->v1--> a3
a1 --"prov:wasDerivedFrom"--> a2
v2 --"p:P2962"--> a1
v3 --"a"--> c7
v3 --"wikibase:referenceValue"--> v1