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 ancestors (CEDAR) #31

Closed mdorf closed 7 years ago

mdorf commented 7 years ago

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

mdorf commented 7 years ago

/ontologies/:ontology/properties/:property/ancestors

mdorf commented 7 years ago

Discussed this with @marcosmro. The decision is that the endpoint will contain ALL ancestors, not just the ones from the tree path, chosen by the tree endpoint. ALL ancestors for EVERY path to root from this property will be included.