query-e454c964e0a4b118ed5e9a1f45e64a4a
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?taxonName WHERE {
?item wdt:P225 ?taxonName .
?item p:P225/pq:P574 ?publicationdate.
FILTER(year(?publicationdate) = 1758)
OPTIONAL{ ?item wdt:P566 ?basionym } .
OPTIONAL{ ?item wdt:P1403 ?firstcombination } .
OPTIONAL{ ?item wdt:P694 ?replacedsynonym } .
FILTER(!bound(?basionym) && !bound(?firstcombination) && !bound(?replacedsynonym))
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?basionym")
v3("?firstcombination")
v6("?item"):::projected
v5("?publicationdate")
v4("?replacedsynonym")
v1("?taxonName"):::projected
a1((" "))
f0[["not bound(?basionym)not bound(?firstcombination)not bound(?replacedsynonym)"]]
f0 --> v2
f0 --> v3
f0 --> v4
f1[["year-from-dateTime(?publicationdate) = '1758^^xsd:integer'"]]
f1 --> v5
v6 --"p:direct/P225"--> v1
v6 --"p:P225"--> a1
a1 --"p:qualifier/P574"--> v5
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v6 -."p:direct/P566".-> v2
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v6 -."p:direct/P1403".-> v3
end
subgraph optional2["(optional)"]
style optional2 fill:#bbf,stroke-dasharray: 5 5;
v6 -."p:direct/P694".-> v4
end