Skip to content

API: Include Parent ICTV ID in Taxon Term Details #18

@Angatar

Description

@Angatar

Current Problem:

  • Parent taxon information is currently not directly accessible in the taxon term details.

  • To obtain parent details, users must make a subquery, such as https://wwwdev.ebi.ac.uk…_id%253D19710013/parents formated as OLS_API/[Ontology]/terms/[current_term_IRI]/parents or OLS_API/[Ontology]/terms/[current_term_IRI]/hierarchicalParents

  • This limitation leads to excessive API calls, especially when trying to rebuild a local version of the taxonomy or analyze hierarchical relationships.

Proposed Resolution:

Include a parent_ictv_id field directly in each term's description, except if the term is_root. The best location for this information still has to be determined but annotations can be a consistent location as well as a specific hasParent relation indicating the ictv_id of the parent term within the same ontology.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions