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] [BioPortal] Feedback from Chuck Borromeo

Jennifer Leigh Vendetti vendetti at stanford.edu
Sat Mar 19 10:25:24 PDT 2016


Hello Chuck,

On Mar 18, 2016, at 11:24 AM, support at bioontology.org<mailto:support at bioontology.org> wrote:


Name: Chuck Borromeo

Email: chb69 at pitt.edu<mailto:chb69 at pitt.edu>

Location: http://bioportal.bioontology.org/ontologies/SNOMEDCT?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F363505006&jump_to_nav=true

Feedback:

Hello, I'm trying to use the Bioportal REST API to return a specific property. I would like to return the "has finding site" for this URL http://bioportal.bioontology.org/ontologies/SNOMEDCT/?p=classes&conceptid=http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F363505006&jump_to_nav=true. Can you provide an example REST call? Thanks,

There isn’t an API call to return one specific property, but you can use the “display=properties” parameter to retrieve the properties and corresponding values for a particular class.  Using the ontology/class you listed above, the call would look like this:

data.bioontology.org/ontologies/SNOMEDCT/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F363505006?display=properties<http://data.bioontology.org/ontologies/SNOMEDCT/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F363505006?display=properties>

You would then iterate through the return values to get the “Has finding site” property value pair.

The “display=all” parameter will also work if you wanted to retrieve all information about a class, including the property value pairs:

http://data.bioontology.org/ontologies/SNOMEDCT/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F363505006?display=all<http://data.bioontology.org/ontologies/SNOMEDCT/classes/http://purl.bioontology.org/ontology/SNOMEDCT/363505006?display=all>

Hope that helps.

Jennifer

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/bioontology-support/attachments/20160319/f2c9efd0/attachment.html>


More information about the bioontology-support mailing list