query-a83f4abf68e19b34226bc66b6e1f1058
OBINs marked none of "human", "fictional human", "family", "group of humans" and subclasses SELECT ?item ?itemLabel WHERE { ?item wdt:P1415 ?dummy0 . MINUS { ?item wdt:P31 wd:Q5 } MINUS { ?item wdt:P31 wd:Q8436 } MINUS { ?item wdt:P31/wdt:P279 wd:Q16334295 } MINUS { ?item wdt:P31 wd:Q15632617 } SERVICE wikibase:label { bd:serviceParam wikibase:language "en" } }
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/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#OBINs marked none of "human", "fictional human", "family", "group of humans" and subclasses
SELECT ?item ?itemLabel WHERE {
?item wdt:P1415 ?dummy0 .
MINUS { ?item wdt:P31 wd:Q5 }
MINUS { ?item wdt:P31 wd:Q8436 }
MINUS { ?item wdt:P31*/wdt:P279* wd:Q16334295 }
MINUS { ?item wdt:P31 wd:Q15632617 }
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?dummy0")
v1("?item"):::projected
a1((" "))
c9(["bd:serviceParam"]):::iri
c3(["wd:Q5"]):::iri
c11(["en"]):::literal
c7(["wd:Q15632617"]):::iri
c6(["wd:Q16334295"]):::iri
c4(["wd:Q8436"]):::iri
v1 --"wdt:P1415"--> v2
subgraph minus0["MINUS"]
style minus0 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> c3
end
subgraph minus1["MINUS"]
style minus1 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> c4
end
subgraph minus2["MINUS"]
style minus2 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> a1
a1 --"wdt:P279"--> c6
end
subgraph minus3["MINUS"]
style minus3 stroke-width:6px,fill:pink,stroke:red;
v1 --"wdt:P31"--> c7
end
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c9 --"wikibase:language"--> c11
end