query-09928b2293037de214d28b63a3763aba
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT distinct ?item ?itemLabel WHERE {
?item wdt:P2962 wd:Q105269
optional { ?item rdfs:label ?itemLabel filter (lang(?itemLabel) = "en") . }
filter not exists {
?item wdt:P734 ?familyname .
?familyname wdt:P1705 ?nom
}
}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?familyname")
v1("?item"):::projected
v4("?itemLabel"):::projected
v3("?nom")
c5(["wd:Q105269"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"wdt:P734"--> e0v2
e0v2 --"wdt:P1705"--> e0v3
e0v2("?familyname"):::projected
e0v1("?item"):::projected
e0v3("?nom"):::projected
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> v3
v1 --"wdt:P734"--> v2
v2 --"wdt:P1705"--> v3
v1 --"wdt:P2962"--> c5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v1 -."rdfs:label".-> v4
end