Skip to content

Check Version IRI for versioning OWL ontologies #11

Description

@jvendetti

When determining the version number for OWL format ontologies, the current code uses the owl:versionInfo annotation property:

OWLAnnotationProperty versionAnnotationProperty = factory.getOWLAnnotationProperty(OWLRDFVocabulary.OWL_VERSION_INFO.getIRI());

This was the standard location for storing version numbers in OWL 1 ontologies, but in OWL 2 the standard is Version IRI:

https://www.w3.org/TR/owl2-syntax/#Ontology_IRI_and_Version_IRI

Code should perhaps be modified to favor Version IRI, then versionInfo as a fallback.

See also: ncbo/bioportal-project#168

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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