<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">
Hi Brayan,
<div class=""><br class="">
</div>
<div class="">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:</div>
<div class=""><br class="">
</div>
<div class=""><a href="http://data.bioontology.org/ontologies/SNOMEDCT/classes/http://purl.bioontology.org/ontology/SNOMEDCT/122040007?include=prefLabel,synonym,definition,cui,semanticType,obsolete,properties" class="">http://data.bioontology.org/ontologies/SNOMEDCT/classes/http%3A%2F%2Fpurl.bioontology.org%2Fontology%2FSNOMEDCT%2F122040007?include=prefLabel,synonym,definition,cui,semanticType,obsolete,properties</a></div>
<div class=""><br class="">
</div>
<div class=""><a href="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" class="">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</a></div>
<div class=""><br class="">
</div>
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">Let me know if this works for you.</div>
<div class=""><br class="">
</div>
<div class="">Michael</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
</div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">On Jul 16, 2020, at 4:48 AM, Brayan Rodriguez <<a href="mailto:brayanrodbajo@gmail.com" class="">brayanrodbajo@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">Hi. 
<div class="">I am writing due to the need for extracting the properties label and altLabel of a specific term through the API (<a href="http://data.bioontology.org/" class="">data.bioontology.org</a>). Do you know how can I get this information?</div>
<div class=""><br class="">
</div>
<div class="">Thank you in advance.</div>
<div class=""><br class="">
</div>
<div class="">Best, </div>
<div class="">-- <br class="">
<div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">
<div dir="ltr" class="">
<div class="">
<div dir="ltr" class="">
<div dir="ltr" class="">
<div dir="ltr" style="font-size:small" class="">
<div dir="ltr" class=""><br class="">
Brayan Rodríguez.<br class="">
</div>
<div dir="ltr" class="">
<div class="">Systems Engineer, Universidad del Valle.</div>
<div class="">Master of Computer Engineering, Universidad Icesi.</div>
<div class="">Cali, Colombia.</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br class="">
bioontology-support mailing list<br class="">
<a href="mailto:bioontology-support@lists.stanford.edu" class="">bioontology-support@lists.stanford.edu</a><br class="">
https://mailman.stanford.edu/mailman/listinfo/bioontology-support<br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</body>
</html>