-
Notifications
You must be signed in to change notification settings - Fork 74
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
report
: errors on dcat3; undocumented errors
#1229
Comments
ROBOT is focused on Open Bio Ontologies (OBO), and The triple parsing error comes from OWLAPI. You could try loading the file with OWLAPI to isolate the problem.
You point out several things that could be improved in ROBOT, which I appreciate, but I do not have time to address them. ROBOT is an un-funded, open source project. I hope that someone from the community will see this issue and follow up, or that you will be able to isolate the problems and suggest a Pull Request to fix them. |
Your reaction for the other 2 issues was extremely fast! But Nobody should expect fixes the same hour, day or week for every problem. So this issue can serve as an anchor for discussion and clarification on the reported problems. I think that "Could not create IRI" is a logical error since it should not try to make IRI from a literal? |
I think the problem with the three triples that could not be parsed is that the ontology should not be using |
@balhoff Which OWL spec says that |
It's very well hidden in a comment in this section: https://www.w3.org/TR/owl2-new-features/#F12:_Punning "it requires that a name cannot be used for both a class and a datatype and that a name can only be used for one kind of property." However I believe this is allowed in OWL Full, so I am not too sure why this axiom is dropped. I do agree though with @balhoff theory. OWL API might be imposing OWL 2 DL constraints here. This is as @jamesaoverton suggests though an issue for the owl api tracker. Cc @ignazio1977 |
From memory, punning is not defined for ontologies. An ontology IRI is just an IRI, so it can (should) be usable in regular annotation axioms. Having said that, ontology annotations are a special thing and are not axioms in the ontology, so where the annotations appear might make a difference. Punning annotations and object properties: big no no. Parsing is not done according to usage but declared types, so using a property declared as object as annotation will strain a number of seams. Wouldn't surprise me if this was the root issue here. |
@balhoff's theory is that |
Using a literal as value for an annotation property is perfectly valid but it does not make it a data property. The distinction is on their domain, data properties have individuals for their domain, and are not ignored by reasoners, while annotation properties have things that aren't individuals - they can annotate axioms, ontologies, or IRIs of classes/properties/etc, and are ignored by reasoners. |
@VladimirAlexiev I was talking about these properties, I didn't mean to make any comment about
These object properties are being used as annotation properties in the ontology, by using them to make ontology annotations. If they are (incorrectly) interpreted as annotation properties, then the |
Produces these:
ERROR org.obolibrary.robot.IOHelper - Input ontology contains 3 triple(s) that could not be parsed
WARN org.obolibrary.robot.IOHelper - Could not create IRI for Slovník pro datové katalogy@cs
WARN org.obolibrary.robot.IOHelper - Cannot invoke "java.util.Map.keySet()" because "expanded" is null
WARN org.obolibrary.robot.providers.CURIEShortFormProvider - Unable to find namespace for: http://www.w3.org/ns/dcat#Resource
@prefix dcat:
is defined)multiple_labels http://www.w3.org/ns/dcat rdfs:label Slovn<ED>k pro datov<E9> katalogy@cs
Last but not least: none of these are documented at http://robot.obolibrary.org/errors
The text was updated successfully, but these errors were encountered: