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] Get altLabel and label

Michael Dorf mdorf at stanford.edu
Thu Jul 16 10:58:35 PDT 2020


Hi Brayan,

Thank you for your question. Depending on the ontology you are working with, the fields “label” and “altLabel” may or may not exist. Your best solution for extracting these fields is by asking for ALL of the properties of a given class using the “display=properties” query parameter:

http://data.bioontology.org/ontologies/SNOMEDCT/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F122040007?include=prefLabel,synonym,definition,cui,semanticType,obsolete,properties<http://data.bioontology.org/ontologies/SNOMEDCT/classes/http://purl.bioontology.org/ontology/SNOMEDCT/122040007?include=prefLabel,synonym,definition,cui,semanticType,obsolete,properties>

http://data.bioontology.org/ontologies/NCIT/classes/http%3A%2F%2Fncicb.nci.nih.gov%2Fxml%2Fowl%2FEVS%2FThesaurus.owl%23C34952?include=prefLabel,synonym,definition,cui,semanticType,obsolete,properties<http://data.bioontology.org/ontologies/NCIT/classes/http://ncicb.nci.nih.gov/xml/owl/EVS/Thesaurus.owl#C34952?include=prefLabel,synonym,definition,cui,semanticType,obsolete,properties>

If you know the property name that contains the data you need (the names/namespaces can be different for different ontologies), you can extract them from the “properties” collection.

Let me know if this works for you.

Michael


On Jul 16, 2020, at 4:48 AM, Brayan Rodriguez <brayanrodbajo at gmail.com<mailto:brayanrodbajo at gmail.com>> wrote:

Hi.
I am writing due to the need for extracting the properties label and altLabel of a specific term through the API (data.bioontology.org<http://data.bioontology.org/>). Do you know how can I get this information?

Thank you in advance.

Best,
--

Brayan Rodríguez.
Systems Engineer, Universidad del Valle.
Master of Computer Engineering, Universidad Icesi.
Cali, Colombia.
_______________________________________________
bioontology-support mailing list
bioontology-support at lists.stanford.edu<mailto:bioontology-support at lists.stanford.edu>
https://mailman.stanford.edu/mailman/listinfo/bioontology-support

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


More information about the bioontology-support mailing list