feature request #6682
Updated by Andreas Müller over 5 years ago
URGENT: Update inverse symbol for MAN rel type
We need a webservice for taxon relationships returning
* a list of all taxon relationships for a given taxon including
* direction of relationship (if this taxon is the "from" taxon, the direction is "direct", otherwise it is "inverse"
* a Entity Holder(?) for the related taxon
* RelType DTO
* TaggedTitle for the relationship
* formatting type (misapplication, synonym, other tscon relationship - see below)
* a deduplicated list of TaggedText for misapplied names, deduplicated if name and err. sec. are equal (best handling still needs to be discussed, pure list as TaggedText is probably not enough, see also comment in #7658)
This requires a formatter for taxon relationships, which includes
* symbol for relationship type (depending on relation direction)
* related name and relation source information
and which differs for
* misapplications (only inverse - "has misapplied name"),
* pro parte/partial synonyms
* all other concept relationships
* tests
Formatting rules (as discussed with WGB):
* as marker for relationship citation we use "err. sec.", "syn. sec." and "rel. sec." (for now)
* authors must not have initials
* symbol for doubtful relationship and symbol for doubtful taxon
* MAN non author is full name authorship cache
* sensu references should have same format as other references (family name + year with whitespace separator)
Also check carefully against results discussed in #5676
Example: http://test.e-taxonomy.eu/cdmserver/rem_conf_am/taxon/7ef2a81e-0e01-4585-ab24-f41b4fc7eecc/taxonRelationshipsDTO.json?directTypes=1ed87175-59dd-437e-959e-0d71583d8417&directTypes=8a896603-0fa3-44c6-9cd7-df2d8792e577&inversTypes=1ed87175-59dd-437e-959e-0d71583d8417&inversTypes=8a896603-0fa3-44c6-9cd7-df2d8792e577&direction=relatedFrom&groupMisapplications=true
further relationship Type: 60974c98-64ab-4574-bb5c-c110f6db634d
Example for old service: http://api.cybertaxonomy.org/caryo_nepenthaceae/portal/taxon/90d47d8d-0f76-47d9-a0c8-20b4361080a4/taxonRelationships.json
new version: http://api.cybertaxonomy.org/caryo_nepenthaceae/taxon/90d47d8d-0f76-47d9-a0c8-20b4361080a4/taxonRelationshipsDTO.json
Nepenthes portal example: http://caryophyllales.org/nepenthaceae/cdm_dataportal/taxon/90d47d8d-0f76-47d9-a0c8-20b4361080a4