query-acfa4fd6b95ba3c3bed3936dc21a79bd
Items that have a reference for taxon name marked as recombination but are missing basionym and original combination
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX prov: <http://www.w3.org/ns/prov#>
PREFIX pr: <http://www.wikidata.org/prop/reference/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?name ?basionym ?protonym WHERE
{
?item wdt:P225 ?name .
?item p:P225 ?statement .
?statement prov:wasDerivedFrom ?refnode .
?refnode pr:P248 ?ref .
?refnode pr:P6184 wd:Q14594740 .
OPTIONAL {?item wdt:P566 ?basionym }
OPTIONAL {?item wdt:P1403 ?protonym }
FILTER(!bound(?basionym) && !bound(?protonym))
}
ORDER BY ?name
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?basionym"):::projected
v4("?item"):::projected
v1("?name"):::projected
v3("?protonym"):::projected
v7("?ref")
v6("?refnode")
v5("?statement")
c6(["wd:Q14594740"]):::iri
f0[["not bound(?basionym)not bound(?protonym)"]]
f0 --> v2
f0 --> v3
v4 --"p:direct/P225"--> v1
v4 --"p:P225"--> v5
v5 --"prov:wasDerivedFrom"--> v6
v6 --"p:reference/P248"--> v7
v6 --"p:reference/P6184"--> c6
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v4 -."p:direct/P566".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v4 -."p:direct/P1403".-> v3
end