query-c8c3928ed4672649be94f06a64cfbe9c
TODO
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item ?taxonName ?basionymOf WHERE {
?item wdt:P2868 wd:Q810198 . # basionym
?item wdt:P225 ?taxonName .
?item p:P2868 ?taxonNameStatement .
?taxonNameStatement pq:P642/wdt:P225 ?basionymOf
}
ORDER BY ASC(?taxonName) ASC(?basionymOf)
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?basionymOf"):::projected
v3("?item"):::projected
v1("?taxonName"):::projected
v4("?taxonNameStatement")
a1((" "))
c2(["wd:Q810198"]):::iri
v3 --"p:direct/P2868"--> c2
v3 --"p:direct/P225"--> v1
v3 --"p:P2868"--> v4
v4 --"p:qualifier/P642"--> a1
a1 --"p:direct/P225"--> v2