CatalogueOfLife / backend

Complete backend of COL ChecklistBank
Apache License 2.0
15 stars 11 forks source link

Derive nomenclatural code #377

Open mdoering opened 5 years ago

mdoering commented 5 years ago

In many cases we should be able to detect the correct nomenclatural code by looking at the name and its kingdom.

The name parser already determines if a name clearly belongs to a certain code, e.g. certain ranks only exist in one code. The presence of a year in the authorship usually indicates the zoological code. The presence of both a basionym and combination author usually indicates the botanical code.

In addition the classification/kingdom can be used to infer the code. Animalia, Plantae, Fungi, Bacteria and Archaea are clearly indicating the respective code. Protozoa & Chromista are troublesome and we should probably not derive a code in these cases.

mdoering commented 4 years ago

I would suggest to inherit the code from the parent if not given explicitly. Then we can adjust the kingdoms to their code and it should propagate downwards. For Protozoa and Chromista we can leave the code open or define it on a lower phylum or class? @yroskov any ideas for those two?