evoinfo / miapa

Minimum Information About a Phylogenetic Analysis (MIAPA) vocabularies and tools
http://www.evoio.org/wiki/MIAPA
Creative Commons Zero v1.0 Universal
9 stars 7 forks source link

Illegal redeclaration error #24

Open hlapp opened 7 years ago

hlapp commented 7 years ago

Loading miapa.owl with Protégé yields the following pair of errors multiple times:

Level:       ERROR
Time:        1478717453622
Message:     Illegal redeclarations of entities: reuse of entity http://www.w3.org/ns/prov#wasRevisionOf in punning not allowed [Declaration(ObjectProperty(<http://www.w3.org/ns/prov#wasRevisionOf>)), Declaration(AnnotationProperty(<http://www.w3.org/ns/prov#wasRevisionOf>))]

Level:       ERROR
Time:        1478717453626
Message:     Illegal redeclarations of entities: reuse of entity http://www.w3.org/ns/prov#specializationOf in punning not allowed [Declaration(ObjectProperty(<http://www.w3.org/ns/prov#specializationOf>)), Declaration(AnnotationProperty(<http://www.w3.org/ns/prov#specializationOf>))]
arlin commented 7 years ago

This error is not generated when PROV is loaded into Protege 5.1. So, the error is not internal to PROV. MIAPA does not itself redefine wasRevisionOf or specializationOf. This suggests that the problem may be that MIAPA is loading a second ontology that duplicates terms in PROV.

stain commented 7 years ago

See #25. It's a bug in the PROV ontology file.