query-7e2029be74752f96a3020ae57139512c
No UID select ?item ?itemLabel { ?item wdt:P108 ?employer . filter not exists { ?item ?wdt [] . ?wdt ^wikibase:directClaim/wdt:P31/wdt:P279* wd:Q18614948 } service wikibase:label {bd:serviceParam wikibase:language "en"} } values (?employer) {(wd:Q34433)}
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#>
# No UID
select ?item ?itemLabel {
?item wdt:P108 ?employer .
filter not exists {
?item ?wdt [] .
?wdt ^wikibase:directClaim/wdt:P31/wdt:P279* wd:Q18614948
}
service wikibase:label {bd:serviceParam wikibase:language "en"}
} values (?employer) {(wd:Q34433)}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?employer")
v2("?item"):::projected
v3("?wdt")
a1((" "))
a2((" "))
a3((" "))
c4(["wd:Q18614948"]):::iri
c7(["bd:serviceParam"]):::iri
c9(["en"]):::literal
bind0[/VALUES ?employer/]
bind0-->v1
bind00(["wd:Q34433"])
bind00 --> bind0
f1[["not "]]
subgraph f1e0["Exists Clause"]
e0v1 -->e0v2--> e0a1
e0a2 --"wikibase:directClaim"--> e0v2
e0a2 --"wdt:P31"--> e0a3
e0a3 --"wdt:P279"--> e0c4
e0v1("?item"):::projected
e0v2("?wdt"):::projected
e0a1((" ")):::projected
e0a2((" ")):::projected
e0a3((" ")):::projected
e0c4(["wd:Q18614948"]):::iri
end
f1--EXISTS--> f1e0
f1 --> v2
f1 --> v3
f1 --> a1
f1 --> a2
f1 --> c1
f1 --> c2
f1 --> a3
f1 --> c3
f1 --> c4
v2 -->v3--> a1
a2 --"wikibase:directClaim"--> v3
a2 --"wdt:P31"--> a3
a3 --"wdt:P279"--> c4
v2 --"wdt:P108"--> v1
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c7 --"wikibase:language"--> c9
end