query-649d9f704cbcde7cec86827a19d0f3ed
One-of violations (mandatory)
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/>
SELECT ?prop ?constr ?statement WHERE {
?prop wikibase:statementProperty ?pred;
#wikibase:qualifier ?pred;
#wikibase:reference ?pred;
p:P2302 ?constr .
?constr ps:P2302 wd:Q21510859; pq:P2316 wd:Q21502408; a wikibase:BestRank .
?statement ?pred ?value; a wikibase:BestRank .
FILTER( !wikibase:isSomeValue( ?value ) ) .
MINUS { ?constr pq:P2305 ?value } .
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?constr"):::projected
v3("?pred")
v2("?prop"):::projected
v5("?statement"):::projected
v1("?value")
c4(["wd:Q21510859"]):::iri
c6(["wd:Q21502408"]):::iri
c8(["wikibase:BestRank"]):::iri
f0[["not http://wikiba.se/ontology#isSomeValue(?value)"]]
f0 --> v1
v2 --"wikibase:statementProperty"--> v3
v2 --"p:P2302"--> v4
v4 --"p:statement/P2302"--> c4
v4 --"p:qualifier/P2316"--> c6
v4 --"a"--> c8
v5 -->v3--> v1
v5 --"a"--> c8
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v4 --"p:qualifier/P2305"--> v1
end