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

Illegal redeclaration error #24

Open
hlapp opened this issue Nov 9, 2016 · 2 comments
Open

Illegal redeclaration error #24

hlapp opened this issue Nov 9, 2016 · 2 comments
Labels

Comments

@hlapp
Copy link
Contributor

hlapp commented Nov 9, 2016

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>))]
@hlapp hlapp added the bug label Nov 9, 2016
@arlin
Copy link
Contributor

arlin commented Nov 10, 2016

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
Copy link
Contributor

stain commented May 4, 2017

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

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

No branches or pull requests

3 participants