query-3f29a2cd1cb54904e32fc73ab225609d
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item {
?item p:P6216 ?statement .
?statement ?p ?q .
bind (if(strstarts(str(?p),"http://www.wikidata.org/prop/qualifier/" ),1,0)as ?test)
filter(?test=0)
} LIMIT 1000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?item"):::projected
v4("?p")
v5("?q")
v3("?statement")
v6("?test")
f0[["?test = '0^^xsd:integer'"]]
f0 --> v6
v2 --"p:P6216"--> v3
v3 -->v4--> v5
bind1[/"if(starts-with(str(?p),'http://www.wikidata.org/prop/qualifier/'),'1^^xsd:integer','0^^xsd:integer')"/]
v4 --o bind1
bind1 --as--o v6