Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[bioontology-support] batch endpoint

Wynne, Robert (NIH/NCI) [C] wynner at
Thu Sep 29 22:58:10 PDT 2016


It appears the Modular_Component URI in this OWL1 file is the rdf:about of an owl:DeprecatedClass.

This is not exactly an owl:Class, and is likely the root cause of error.

You might want to specify "obsolete" instead of "class" for this particular URI.

And I don't think you're missing anything...

On first look, a json example in the documentation ( for owl:DeprecatedClass seems to be missing.

Although, there also does appear to be a way to recurse down a known deprecated branch (in this cased BRO:Deprecated_Resource).  See example:  , but this approach may return more than what you want in a much larger ontology.

I haven't tried any of this, but if you're successful in your modified json request, would you mind attaching it as a reply for others?

Good luck!


From: Ben Leinfelder [mailto:leinfelder at]
Sent: Thursday, September 29, 2016 8:04 PM
To: <support at> <support at>
Subject: [bioontology-support] batch endpoint

I'm investigating BioPortal's "batch" endpoint - described here: - but haven't been able to retrieve results from it.

I've used your example, verbatim, to construct the json request and post it to the endpoint:
         curl -X POST -v -d @batch.json "" -H "Authorization: apikey token=<my token>"
But get this response:
        {"errors":["Batch endpoint only support calls to owl:Class resources"],"status":422}

Am I missing something?

Thank you,
Ben Leinfelder

bioontology-support mailing list
bioontology-support at<mailto:bioontology-support at>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the bioontology-support mailing list