Skip to main content

Validate your data compliant with DCAT-AP with the new expression of OWL/SHACL applied to DCAT-AP v1.1

Validate your data compliant…

Dinu Codreanu
Published on: 24/07/2017 Last update: 05/10/2017 News Archived

Since the publication of version 1.1 of the DCAT application profile for data portals in Europe in October 2015, discussions with implementers identified an interest among the community members to create an OWL expression of the application profile.

Around the same time, work was underway at W3C to develop a language for validating RDF graphs against a set of conditions, known as the SHACL Shapes Constraint Language.

In the context of work that was undertaken to develop further guidelines for the implementation of DCAT-AP v1.1, implementers of DCAT-AP v1.1 also expressed their interest in the application of SHACL to validate DCAT-AP-compliant data, for example in cases where DCAT-AP data is harvested into portals.

In response to the interest expressed by the implementer community, the ISA² Programme of the European Commission undertook a project to develop an OWL/SHACL expression of DCAT-AP v1.1 under its action on promoting semantic interoperability amongst the EU Member States.

SHACL/OWL applied to DCAT-AP v1.1

The outcome as of the date of publication of this news item is available in two folders on GitHub:

The sources in both folders are structured in a similar way:

  • A file that contains the shapes to validate the presence of the mandatory classes: dcat-ap-mandatory-classes.shapes.ttl.
  • A file that contains the shapes to validate the mandatory properties: dcat-ap.shapes.ttl
  • A file that contains the shapes to validate the use of the vocabularies mandated by the DCAT-AP specification: dcat-ap-mdr-vocabularies.shapes.ttl

All the details are available on: https://joinup.ec.europa.eu/release/dcat-ap-v11

Version notes

The results of the work are available for download at https://joinup.ec.europa.eu/node/146653/ (the two files at the bottom of the Distributions table), while the actual development history, the issues raised and their resolutions can be viewed at https://github.com/semiceu/dcat-ap_shacl.

Login or create an account to comment.