EBISPOT / OLS

Ontology Lookup Service from SPOT at EBI
http://www.ebi.ac.uk/ols
Apache License 2.0
96 stars 40 forks source link

Support for RDF-based media types #252

Open micheldumontier opened 5 years ago

micheldumontier commented 5 years ago

If OLS could provide RDF-based media types (JSON-LD, Turtle, RDF/XML, n-triples, etc) for not just the ontology, but individual concepts, i could see us (and projects from mark wilkinson and others) using OLS for machine-readable concept lookup. I might even be inclined to move SIO's resolution service directly to OLS :)

e.g. we apply an xsl over rdf/xml retrieved from a triple store to present selected attributes from SIO entities. view source at http://semanticscience.org/resource/entity

m.

henrietteharmse commented 5 years ago

Hi Michel,

It is possible to do a lookup on a specific concept using the REST API. I.e., to do a lookup for SIO:000000 you can do the following REST API call:

https://www.ebi.ac.uk/ols/api/terms?id=SIO:000000

More information regarding the REST API can be found at https://www.ebi.ac.uk/ols/docs/api.

Please let me know whether this does indeed address the needs of your use case.

Keep well, Henriette

simonjupp commented 5 years ago

@henrietteharmse Michel is asking for support for different media type other than the JSON we currently have.

If we can define a JSON-LD context for the OLS JSON representation this would give us a mapping to RDF, then providing alternate serialisations of that would be relatively straightforward.