-
Notifications
You must be signed in to change notification settings - Fork 55
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
Current https://raw.githubusercontent.com/w3c/dxwg/gh-pages/dcat/rdf/dcat.ttl is inconsistent #944
Comments
@rduerr wrote
Thanks, @rduerr for warning us. |
From within the latest version of desktop Protege |
Opening DCAT with protege5.0 returns the message
I have made different attempts to fix this, but with very limited success. Attempt A: Attempt B : Attempt C1: Attempt C2: I do not know what to think. Is it something connected to the serialization syntax? Any idea? |
@cmungall have you seen this before? |
Following the discussion on PR 1003, I have made a further attempt: |
The SWEET team have just uncovered a bug in OWLAPI which is currently preventing SWEET loading in Protege. It appears that there are issues with the latest OWLAPI - so it might not be a DCAT problem at all. |
Is there a ticket on the owlapi issue tracker? |
I just tried parsing https://raw.githubusercontent.com/w3c/dxwg/gh-pages/dcat/rdf/dcat.ttl Missing semicolon on line 797 - is this hand-authored?
|
I think you need to declare primaryTopic to be an OP This works as expected:
however, omitting the declaration causes the parse error. I believe this is consistent with the specs: https://www.w3.org/TR/owl2-mapping-to-rdf/ Sometimes the owlapi will infer these declarations but this isn't guaranteed. Missing OP declarations is a common source of errors, especially when trying to repurpose ontologies that were designed to be RDFS as OWL ontologies. |
Thanks @cmungall I think I've fixed it (and the missing ;) in https://github.com/w3c/dxwg/tree/dcat-issue-944 |
Using the ELK 0.4.3 reasoner on the dcat.ttl results in Error2 on:
'Catalog Record' SubClassOf foaf:primaryTopic only 'Catalogued resource'
I expect this is related to #771; but thought I should mention it anyway... Yes, we are trying to use DCAT 2 too early... Sorry about that...
The text was updated successfully, but these errors were encountered: