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

shacl/v.1.2.1 - dcat:contactPoint doesn't accept a vcard:Organization #115

Closed
init-dcat-ap-de opened this issue Jan 15, 2020 · 3 comments
Closed

Comments

@init-dcat-ap-de
Copy link

init-dcat-ap-de commented Jan 15, 2020

We tested a few of our datasets with the EDP tool (https://www.europeandataportal.eu/shacl/) and found that some validation errors are falsely:

Example RDF: https://www.govdata.de/ckan/dataset/strassenverkehrsunfalle-in-schleswig-holstein-im-november-2007-vorlaufige-zahlen.rdf

XML:

    <dcat:contactPoint>
      <vcard:Organization rdf:nodeID="Na2e4f48af3e841e4815c265ba26e1d3d">
        <vcard:fn>Statistisches Amt für Hamburg und Schleswig-Holstein</vcard:fn>
        <vcard:hasEmail rdf:resource="mailto:[email protected]"/>
      </vcard:Organization>
    </dcat:contactPoint>

Error:

    {
      "@id": "_:b9",
      "@type": "sh:ValidationResult",
      "focusNode": "https://opendata.schleswig-holstein.de/dataset/StaNord_CMS:55265",
      "resultMessage": "Value does not have class https://www.w3.org/2006/vcard/ns#Kind",
      "resultPath": "dcat:contactPoint",
      "resultSeverity": "sh:Violation",
      "sourceConstraintComponent": "sh:ClassConstraintComponent",
      "sourceShape": "_:b13",
      "value": "_:b12"
    }

Possible reason/problem in the SHACL-files:
vcard:Organization is a subclass of vcard:Kind and therefor should not throw this error.

Background
dcat-ap.de is a German variation of dcat-ap. Our goal was, that all valid dcat-ap.de files are also valid dcat-ap files. We only reduced options and added specific fields.

GovData.de is (for example) a data portal where dcat-ap.de is used. GovData.de data is also collected by the EDP. We are now trying to improve the meta data quality, especially the dcat-ap compliance (https://www.europeandataportal.eu/mqa/govdata?locale=en).

Also posted at: https://gitlab.com/european-data-portal/mqa/shacl-validation/issues/1

@bertvannuffelen
Copy link
Contributor

see #116

@bertvannuffelen
Copy link
Contributor

During WG 21 Oct 2021, it has been decided not to upgrade the historic SHACL representations and focus on the new representations.

@bertvannuffelen
Copy link
Contributor

During WG 21 Oct 2021, it has been decided not to upgrade the historic SHACL representations and focus on the new representations.

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

No branches or pull requests

2 participants