query-a52491e73c3b1edd7c997d7a43d9d527
Year in which Linnè described a species
Use at
- https://query.wikidata.org/sparql
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 (YEAR(?date) as ?year) WHERE {
?item p:P105/ps:P105 wd:Q7432 . # Species
?item p:P225 ?taxonNameStatement .
?taxonNameStatement ps:P225 ?taxonName .
?taxonNameStatement pq:P405 wd:Q1043. # Carl von Linnè
OPTIONAL {?taxonNameStatement pq:P574 ?date}
}
ORDER BY ASC(?taxonName)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?date"):::projected
v2("?item"):::projected
v1("?taxonName"):::projected
v3("?taxonNameStatement")
v5("?year")
a1((" "))
c3(["wd:Q7432"]):::iri
c7(["wd:Q1043"]):::iri
v2 --"p:P105"--> a1
a1 --"p:statement/P105"--> c3
v2 --"p:P225"--> v3
v3 --"p:statement/P225"--> v1
v3 --"p:qualifier/P405"--> c7
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."p:qualifier/P574".-> v4
end
bind0[/"year-from-dateTime(?date)"/]
v4 --o bind0
bind0 --as--o v5