ncbo / ontologies_api

Hypermedia API for NCBO's ontology-related projects
http://data.bioontology.org
Other
25 stars 10 forks source link

Endpoint for retrieving ontology property tree (CEDAR) #27

Closed mdorf closed 7 years ago

mdorf commented 7 years ago

Similar to the class tree endpoint, we need a service that retrieves a property tree for a given property, identified by its ID.

jonquet commented 7 years ago

This could be also related to https://github.com/agroportal/agroportal_web_ui/issues/55 As adding features for property in BioPortal would be nice. (perso: I would even also add property label to the Annotator dictionary with a specific option to activate those matching)

mdorf commented 7 years ago

/ontologies/:ontology/properties/:propery/tree

mdorf commented 7 years ago

This endpoint will return ALL roots, with a single node expanded. The expanded node will correspond to the path from the root to the given property. This behavior is identical to the class tree endpoint.