query-0c225086c741352cce6c6230aa631965
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?film WHERE {
?film wdt:P31 wd:Q11424 .
FILTER NOT EXISTS { ?film wdt:P31 wd:Q20089094}
MINUS {
?film ?p [] .
?prop wikibase:directClaim ?p .
?prop wdt:P31 wd:Q22964274
}
}
LIMIT 10000
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?film"):::projected
v2("?p")
v3("?prop")
a1((" "))
c5(["wd:Q22964274"]):::iri
c3(["wd:Q11424"]):::iri
c2(["wd:Q20089094"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P31"--> e0c2
e0v1("?film"):::projected
e0c2(["wd:Q20089094"]):::iri
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> c2
v1 --"wdt:P31"--> c2
v1 --"wdt:P31"--> c3
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 -->v2--> a1
v3 --"wikibase:directClaim"--> v2
v3 --"wdt:P31"--> c5
end