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

dcterms:source punned as both ObjectProperty and AnnotationProperty #21

Open
bpow opened this issue Dec 11, 2017 · 1 comment
Open

dcterms:source punned as both ObjectProperty and AnnotationProperty #21

bpow opened this issue Dec 11, 2017 · 1 comment

Comments

@bpow
Copy link

bpow commented Dec 11, 2017

sepio.owl includes http://purl.org/dc/terms/source as both an ObjectProperty and an AnnotationProperty

This leads to an error message when opening the ontology in Protege:

Illegal redeclarations of entities: reuse of entity http://purl.org/dc/terms/source in punning not allowed [Declaration(ObjectProperty(<http://purl.org/dc/terms/source>)), Declaration(AnnotationProperty(<http://purl.org/dc/terms/source>))]

And also throws a TypeError when trying to load using owlready2:

TypeError: Property 'http://purl.org/dc/terms/source' is both an ObjectProperty and an AnnotationProperty!
@bpow
Copy link
Author

bpow commented Dec 11, 2017

I can't say I completely understand the issue, but I think it is a difference between what is allowed in OWL Full and in OWL DL (the latter does not allow reuse between ObjectProperty and AnnotationProperty entities).

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

No branches or pull requests

1 participant