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] Extracting parent child relationships using the web service

manuelso manuelso at stanford.edu
Tue Dec 3 09:25:42 PST 2013


Akira,

The following POST request works for me (no array for the class ID):

{
   "apikey" : “YOUR_API_KEY",
   "http://www.w3.org/2002/07/owl#Class": {
       "collection": [
           {
               "class": "http://bioontology.org/ontologies/BiomedicalResourceOntology.owl#Ontology_Development_and_Management" ,
               "ontology": "http://data.bioontology.org/ontologies/BRO"
           }
       ],
       "include": "prefLabel,synonym,semanticTypes"
   }
}

This is the curl command that I used to test it:

curl -X POST -d @file_with_the_post_data -H "Content-Type: application/json" http://data.bioontology.org/batch

Manuel

On Dec 3, 2013, at 3:40 AM, AkiraYamaoka <unknownnpc at gmail.com> wrote:

> Thank you Paul.
> 
> But I still get empty response. 
> And as I understand, documentation for REST v.4 is unstable now, right?
> 
> <http://ncbo-support.2288202.n4.nabble.com/file/n4652297/result_1.png> 
> 
> 
> 
> --
> View this message in context: http://ncbo-support.2288202.n4.nabble.com/bioontology-support-Extracting-parent-child-relationships-using-the-web-service-tp4652228p4652297.html
> Sent from the NCBO Support mailing list archive at Nabble.com.
> _______________________________________________
> bioontology-support mailing list
> bioontology-support at lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/bioontology-support



More information about the bioontology-support mailing list