query-9e431f31e38edc15117b1d2c00e8b96c
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/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?taxonname ?familyLabel ?orderLabel WHERE {
?item wdt:P31 wd:Q16521 .
?item wdt:P105 wd:Q7432 .
?item wdt:P225 ?taxonname .
?item wdt:P171+ wd:Q7377 .
?item wdt:P171+ ?family .
?family wdt:P105 wd:Q35409 .
?family wdt:P171+ ?order .
?order wdt:P105 wd:Q36602 .
FILTER NOT EXISTS { ?wen schema:about ?item ; schema:inLanguage "en" } .
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;
v4("?family")
v2("?item"):::projected
v5("?order")
v3("?taxonname"):::projected
v1("?wen")
c11(["wd:Q35409"]):::iri
c3(["en"]):::literal
c7(["wd:Q7432"]):::iri
c10(["wd:Q7377"]):::iri
c14(["bd:serviceParam"]):::iri
c5(["wd:Q16521"]):::iri
c12(["wd:Q36602"]):::iri
f0[["not "]]
subgraph f0e0["Exists Clause"]
e0v1 --"schema:about"--> e0v2
e0v1 --"schema:inLanguage"--> e0c3
e0v2("?item"):::projected
e0v1("?wen"):::projected
e0c3(["en"]):::literal
end
f0--EXISTS--> f0e0
f0 --> v1
f0 --> c1
f0 --> v2
f0 --> c2
f0 --> c3
v1 --"schema:about"--> v2
v1 --"schema:inLanguage"--> c3
v2 --"wdt:P31"--> c5
v2 --"wdt:P105"--> c7
v2 --"wdt:P225"--> v3
v2 --"wdt:P171"--> c10
v2 --"wdt:P171"--> v4
v4 --"wdt:P105"--> c11
v4 --"wdt:P171"--> v5
v5 --"wdt:P105"--> c12
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c14 --"wikibase:language"--> c3
end