query-900bb0b520db61513943b619618d4f6a
Missing original combination (P1403)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?taxonName WHERE {
?item p:P225 ?taxonNameStatement .
?taxonNameStatement ps:P225 ?taxonName .
?taxonNameStatement pq:P31 ?isA .
OPTIONAL {?item wdt:P1403 ?protonym} .
FILTER(sameTerm(?isA, wd:Q14594740))
FILTER(!bound(?protonym))
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?isA")
v4("?item"):::projected
v2("?protonym")
v1("?taxonName"):::projected
v5("?taxonNameStatement")
f0[["not bound(?protonym)"]]
f0 --> v2
f1[["sameterm(?isA,'wd:Q14594740')"]]
f1 --> v3
v4 --"p:P225"--> v5
v5 --"p:statement/P225"--> v1
v5 --"p:qualifier/P31"--> v3
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."p:direct/P1403".-> v2
end