Full Paper

Guidance, Please! Towards a Framework for RDF-Based Constraint Languages

  • Thomas Bosch 1
  • Kai Eckert 2
  • 1 GESIS - Leibniz Institute for the Social Sciences, Germany
  • 2 Stuttgart Media University, Germany
Published
Access and licence
Open access CC BY 4.0
Download PDF

Abstract

In the context of the DCMI RDF Application Profile task group and the W3C Data Shapes Working Group solutions for the proper formulation of constraints and validation of RDF data on these constraints are being developed. Several approaches and constraint languages exist but there is no clear favorite and none of the languages is able to meet all requirements raised by data practitioners. To support the work, a comprehensive, community-driven database has been created where case studies, use cases, requirements and solutions are collected. Based on this database, we have hitherto published 81 types of constraints that are required by various stakeholders for data applications. We are using this collection of constraint types to gain a better understanding of the expressiveness of existing solutions and gaps that still need to be filled. Regarding the implementation of constraint languages, we have already proposed to use high-level languages to describe the constraints, but map them to SPARQL queries in order to execute the actual validation; we have demonstrated this approach for the Web Ontology Language in its current version 2 and Description Set Profiles. In this paper, we generalize from the experience of implementing OWL 2 and DSP by introducing an abstraction layer that is able to describe constraints of any constraint type in a way that mappings from high-level constraint languages to this intermediate representation can be created more or less straight-forwardly. We demonstrate that using another layer on top of SPARQL helps to implement validation consistently accross constraint languages, simplifies the actual implementation of new languages, and supports the transformation of semantically equivalent constraints across constraint languages.

The full text of this article is available as a PDF.

Download PDF

Article details

Published
Section
Full Papers
DOI
10.23106/dcmi.952137055
License
CC BY 4.0 · open access

Indexed in

Described in Dublin Core

This article's metadata, in the vocabulary these proceedings are about.

dcterms:title
Guidance, Please! Towards a Framework for RDF-Based Constraint Languages
dcterms:creator
Bosch, Thomas
Eckert, Kai
dcterms:date
2015-09-05
dcterms:identifier
doi:10.23106/dcmi.952137055
dcterms:subject
RDF validation
RDF constraints
RDF constraint types, RDF validation requirements
Linked Data
Semantic Web
dcterms:publisher
Dublin Core Metadata Initiative
dcterms:type
Text
dcterms:language
en
dcterms:rights
CC BY 4.0