Search Mailing List Archives
[bioontology-support] Please don't change current REST services
Ray Fergerson
ray.fergerson at stanford.edu
Wed Nov 6 16:10:47 PST 2013
Eamonn,
Sorry for the delay in getting back to you. The idea here would be to group
all of the preferred name lookups into a single call and retrieve them all
at once using the “batch” call. Please see the documentation for how to do
this.
http://data.bioontology.org/documentation#nav_batch
We may (probably will) later have a scheme for specifying which properties
of a class you want to retrieve on all calls. This feature only exists on
certain calls at the moment, including the batch call.
Ray
From: bioontology-support-bounces at lists.stanford.edu
[mailto:bioontology-support-bounces at lists.stanford.edu] On Behalf Of Eamonn
Maguire
Sent: Friday, October 25, 2013 4:28 AM
To: support at bioontology.org Support
Cc: isatools at googlegroups.com
Subject: [bioontology-support] Please don't change current REST services
Hi all,
First of all, we use bioportal REST services across numerous tools,
including OntoMaton and ISAcreator, ISAconfigurator etc. This move to the
SPARQL results really messes things up for whilst providing an extra number
of calls to get the same information we get with one call at present. For
example:
This call to search on melanoma gives me this.
{
· "page": 1,
· "pageCount": 45,
· "prevPage": null,
· "nextPage": 2,
· -
"links": {
o "nextPage": <http://data.bioontology.org/search?q=melanoma&page=2>
"http://data.bioontology.org/search?q=melanoma&page=2",
o "prevPage": null
},
· -
"collection": [
o -
{
§ "prefLabel": "Melanoma",
§ "@id": <http://purl.bioontology.org/ontology/MDR/10053571>
"http://purl.bioontology.org/ontology/MDR/10053571",
§ "@type": <http://www.w3.org/2002/07/owl#Class>
"http://www.w3.org/2002/07/owl#Class",
§ -
"links": {
§ "self":
<http://data.bioontology.org/ontologies/MEDDRA/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FMDR%2F10053571>
"http://data.bioontology.org/ontologies/MEDDRA/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FMDR%2F10053571",
§ "ontology": <http://data.bioontology.org/ontologies/MEDDRA>
"http://data.bioontology.org/ontologies/MEDDRA”,
§ ….
Now, if I want to find out which ontology this term came from, I have to do
another search to this http://data.bioontology.org/ontologies/MEDDRA
I have to perform 2 calls to just get the name of the ontology it came from.
It requires 2 calls for each term and places extra burden on both your
servers and slows down our applications.
Is there some way you could you make it easier to get this information from
the original call please?
Many thanks,
Eamonn
--
Eamonn Maguire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20131106/908eff91/attachment-0001.html>
More information about the bioontology-support
mailing list