query-da3a451c4212acc7112887d76059c6df
Misapplied P5326 (P5326)
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
SELECT ?item ?taxonName ?title ?firstName WHERE {
?item wdt:P225 ?taxonName .
?item wdt:P5326/wdt:P1476 ?title .
OPTIONAL {?item wdt:P1403/wdt:P225 ?firstName} .
OPTIONAL {?item wdt:P566/wdt:P225 ?firstName} .
FILTER(BOUND(?firstName))
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?firstName"):::projected
v3("?item"):::projected
v1("?taxonName"):::projected
v4("?title"):::projected
a1((" "))
a2((" "))
a3((" "))
f0[["bound(?firstName)"]]
f0 --> v2
v3 --"wdt:P225"--> v1
v3 --"wdt:P5326"--> a1
a1 --"wdt:P1476"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P1403".-> a2
a2 --"wdt:P225"--> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P566".-> a3
a3 --"wdt:P225"--> v2
end