Page tree
Skip to end of metadata
Go to start of metadata

Ontology Information Web Services

These web services provide REST access to the EIModel API, a simple programmatic interface around the eagle-i ontology, see:  http://search.eagle-i.net/javadoc/org/eaglei/model/package-summary.html. They are packaged in the model.war web application and deployed centrally at http://search.eagle-i.net/model

The results are always returned as JSON, generated with GSON from the EIClass Java class (or Lists thereof), see:  http://search.eagle-i.net/javadoc/org/eaglei/model/EIClass.html


Information about one ontology class - /model/api/ontology/class

This call returns details of a given ontology type.

URL: /model/api/ontology/class (GET)

Args:
uri-- URI of the ontology type for which information is sought

Example:

Get details about the class Tissue Microarrayer:

http://search.eagle-i.net/model/api/ontology/class?uri=http://purl.obolibrary.org/obo/ERO_0000512


List subclasses - /model/api/ontology/subclasses

http://search.eagle-i.net/javadoc/org/eaglei/model/EIClass.html

This call returns subclasses of a given ontology type.

URL: /model/api/ontology/subclasses (GET and POST)

Args:
uri-- URI of the ontology type for which subclasses are sought.

deep-- if present, this argument instructs that a recursive listing of subclasses be performed. If absent, only direct subclasses are returned.

Example:

Get direct subclasses of the Instrument class: 

http://search.eagle-i.net/model/api/ontology/subclasses?uri=http://purl.obolibrary.org/obo/ERO_0000004


List superclasses - /model/api/ontology/path

This call returns superclasses of a given ontology type, up to an eagle-i primary type (i.e. BFO ignored). Current limitation:  only one path is returned; some classes have multiple inferred parents, in which case an arbitrary path is chosen.

URL: /model/api/ontology/path (GET and POST)

Args:
uri-- URI of the ontology type for which superclasses are sought

Example:

Get superclasses of Tissue Microarrayer. 

http://search.eagle-i.net/model/api/ontology/path?uri=http://purl.obolibrary.org/obo/ERO_0000512

  • No labels