204_taxon_name_variants
- taxonomy
- synonym
- nomenclature
Find taxa with recorded name variants beyond their primary scientific name: a taxonomic synonym (an earlier or alternative Latin name for the same taxon) and other recorded name forms such as author citations or authority strings
Use at
PREFIX up: <http://purl.uniprot.org/core/>
SELECT
?taxon
?name
(GROUP_CONCAT(DISTINCT ?syn; separator="; ") AS ?synonyms)
(GROUP_CONCAT(DISTINCT ?other; separator="; ") AS ?otherNames)
WHERE {
?taxon up:scientificName ?name .
OPTIONAL { ?taxon up:synonym ?syn }
OPTIONAL { ?taxon up:otherName ?other }
FILTER(BOUND(?syn) || BOUND(?other))
}
GROUP BY ?taxon ?name
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v4("?name"):::projected
v2("?other"):::projected
v6("?otherNames")
v1("?syn"):::projected
v5("?synonyms")
v3("?taxon"):::projected
f0[["(bound(?syn) || bound(?other))"]]
f0 --> v1
f0 --> v2
v3 --"up:scientificName"--> v4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."up:synonym".-> v1
end
subgraph optional1["(optional)"]
style optional1 fill:#bbf,stroke-dasharray: 5 5;
v3 -."up:otherName".-> v2
end
bind3[/"?syn"/]
v1 --o bind3
bind3 --as--o v5
bind4[/"?other"/]
v2 --o bind4
bind4 --as--o v6