information-artifact-ontology / IAO

information artifact ontology
Creative Commons Attribution 4.0 International
77 stars 25 forks source link

ontology-metadata.owl is not in OWL-DL due to inventing dc:license #210

Closed hlapp closed 5 years ago

hlapp commented 5 years ago

At least as reported by the robot tool:

$ curl -L -O http://purl.obolibrary.org/obo/iao/ontology-metadata.owl
$ ./robot validate-profile --profile DL --input ontology-metadata.owl 
OWL 2 DL Profile Report: Ontology and imports closure NOT in profile. The following violations are present:
Use of undeclared annotation property: <http://purl.org/dc/elements/1.1/license> in annotation [Annotation(<http://purl.org/dc/elements/1.1/license> "http://creativecommons.org/licenses/by/4.0/"^^xsd:string) in null]

Conversion = '1'
For details see: http://robot.obolibrary.org/
Use the -vvv option to show the stack trace.
Use the --help option to see usage information.

I assume this is because the prefix is wrong; the Dublin Core license term is actually in the http://purl.org/dc/terms/ namespace (typically prefixed as dcterms:), not the dc: namespace, so this annotation invents a new property. One could also change to using dc:rights instead of dcterms:license (dcterms:license "refines" dc:rights).

zhengj2007 commented 5 years ago

The wrong license is in the release made on 2015-02-23.

No license information in the latest prepared release file yet. Will redo the release add license info in.

hlapp commented 5 years ago

Is there some kind of plan or ETA for the next release that would fix this? I wanted to start automated integration testing for an ontology to ensure the file is syntactically correct and the ontology is in DL.

cmungall commented 5 years ago

Related ticket:

"We have been using the wrong dublin core URI to indicate license all this time" https://github.com/OBOFoundry/OBOFoundry.github.io/issues/540

hlapp commented 5 years ago

Any chance this could be fixed in the near future? It seems it would be a trivial fix. I'd be happy to contribute the pull request if that's the issue.

zhengj2007 commented 5 years ago

Sorry. I made mistake in the latest released ontology-metadata.owl. Will fix it next week and make the new release.

zhengj2007 commented 5 years ago

The new release of ontology-metadata.owl is made on Aug 27, 2019. The issue is fixed. See: http://purl.obolibrary.org/obo/iao/ontology-metadata.owl