Skip to content

report: errors on dcat3; undocumented errors #1229

@VladimirAlexiev

Description

@VladimirAlexiev
curl -O https://www.w3.org/ns/dcat3.ttl
robot -v report --input dcat3.ttl|less

Produces these:

  • ERROR org.obolibrary.robot.IOHelper - Input ontology contains 3 triple(s) that could not be parsed
 - <http://www.w3.org/ns/dcat#previousVersion> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://purl.org/pav/previousVersion>.
 - <http://www.w3.org/ns/dcat#version> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://purl.org/pav/version>.
 - <http://www.w3.org/ns/dcat#hasCurrentVersion> <http://www.w3.org/2002/07/owl#equivalentProperty> <http://purl.org/pav/hasCurrentVersion>.
  • What's wrong with these triples?
  • WARN org.obolibrary.robot.IOHelper - Could not create IRI for Slovník pro datové katalogy@cs
    • Why would it want to interpret this label as IRI? It appears with these props:
  dcterms:title "Slovník pro datové katalogy"@cs ;
  rdfs:label "Slovník pro datové katalogy"@cs ;
  • WARN org.obolibrary.robot.IOHelper - Cannot invoke "java.util.Map.keySet()" because "expanded" is null
    • I think that's due to the prev error
  • WARN org.obolibrary.robot.providers.CURIEShortFormProvider - Unable to find namespace for: http://www.w3.org/ns/dcat#Resource
    • What does this mean? (@prefix dcat: is defined)
  • multiple_labels http://www.w3.org/ns/dcat rdfs:label Slovn<ED>k pro datov<E9> katalogy@cs
    • Having labels in multiple languages is not only allowed, but also a good practice
    • Why does it garble the unicode char here? It printed it ok above. I bet this is due to the failed attempt to treat it as IRI

Last but not least: none of these are documented at http://robot.obolibrary.org/errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions