When setting the human readable label property for AnnotationProperty, ObjectProperty, and DatatypeProperty, the current code base only pulls values from rdfs:label in source ontologies, e.g., see here.
An end user submitted an ontology (AFO) where the human readable labels for their properties are stored in skos:prefLabel:
When setting the human readable label property for AnnotationProperty, ObjectProperty, and DatatypeProperty, the current code base only pulls values from rdfs:label in source ontologies, e.g., see here.
An end user submitted an ontology (AFO) where the human readable labels for their properties are stored in skos:prefLabel:
This causes the following behavior in BioPortal:
REST calls like the following to retrieve the label for a particular ontology property return null: http://data.bioontology.org/ontologies/AFO/properties/http%3A%2F%2Fpurl.allotrope.org%2Fontologies%2Fproperty%23AFX_0000180/label.
REST calls like the following to retrieve the basic set of attributes for an ontology property returns an empty set for labels: http://data.bioontology.org/ontologies/AFO/properties/http%3A%2F%2Fpurl.allotrope.org%2Fontologies%2Fproperty%23AFX_0000180?display_links=false&display_context=false.
The property tree in the BioPortal UI displays the last fragment of the property ID for each node in the tree, rather than the human readable label: