Skip to content

Give preference to English language tags for property labels #95

@jvendetti

Description

@jvendetti

User reported on the mailing list that they submitted the RDAU ontology to BioPortal where some of the ontology property assertions have both Danish ('da') and English ('en') entries for the rdfs:label property. Screen shot of one such property in Protege:

screenshot 2017-12-22 11 22 19

The first instance of rdfs:label is being chosen as the property label, which results in the BioPortal user interface showing a property list in mixed languages:

screenshot 2017-12-22 11 24 45

... i.e., for this ontology, any property that has a Danish language tag ends up getting displayed in Danish instead of English, since the code doesn't look for / give preference to the English language tags.

The same problem was reported and fixed for the display of the preferred name for ontology classes. Details are still available in the old BMIR JIRA issue tracker (NCBO-1662).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions