Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check Version IRI for versioning OWL ontologies #11

Open
jvendetti opened this issue May 11, 2020 · 1 comment
Open

Check Version IRI for versioning OWL ontologies #11

jvendetti opened this issue May 11, 2020 · 1 comment

Comments

@jvendetti
Copy link
Member

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

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

No branches or pull requests

3 participants