query-3eda5ad436e9b9d33c6de4b68ee10259
in special cases the place of the type strain may be taken Species by a description, preserved specimen, or an illustration (see Rule 18a(1)) SELECT DISTINCT ?item ?taxonName ?nomenclaturalType ?rankOfNomenclaturalTypeLabel ?lpsnUrl WHERE { VALUES ?taxonRank {wd:Q7432 wd:Q68947} . ?item wdt:P225 ?taxonName . ?item wdt:P105 ?taxonRank . OPTIONAL {?item wdt:P427/wdt:P225 ?nomenclaturalType} . OPTIONAL {?item wdt:P427/wdt:P105 ?rankOfnomenclaturalType} . OPTIONAL {?item wdt:P1991 ?lpsnUrl} . ?item (wdt:P171)* ?higherParent . ?higherParent wdt:P944 wd:Q743780 . FILTER(!bound(?nomenclaturalType)|| !sameTerm(?rankOfNomenclaturalType, wd:Q855769)) SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". } } ORDER BY ASC(?taxonName)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# in special cases the place of the type strain may be taken Species by a description, preserved specimen, or an illustration (see Rule 18a(1))
SELECT DISTINCT ?item ?taxonName ?nomenclaturalType ?rankOfNomenclaturalTypeLabel ?lpsnUrl WHERE {
VALUES ?taxonRank {wd:Q7432 wd:Q68947} .
?item wdt:P225 ?taxonName .
?item wdt:P105 ?taxonRank .
OPTIONAL {?item wdt:P427/wdt:P225 ?nomenclaturalType} .
OPTIONAL {?item wdt:P427/wdt:P105 ?rankOfnomenclaturalType} .
OPTIONAL {?item wdt:P1991 ?lpsnUrl} .
?item (wdt:P171)* ?higherParent .
?higherParent wdt:P944 wd:Q743780 .
FILTER(!bound(?nomenclaturalType)|| !sameTerm(?rankOfNomenclaturalType, wd:Q855769))
SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE]". }
}
ORDER BY ASC(?taxonName)