<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>Validating RDF data using Shapes</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Jose Emilio ​Labra Gayo​</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>ISIC'21:International Semantic Intelligence Conference</institution>
        </aff>
      </contrib-group>
      <fpage>83</fpage>
      <lpage>84</lpage>
      <abstract>
        <p>RDF forms the keystone of the Semantic Web as it enables a simple and powerful knowledge representation graph based data model that can also facilitate integration between heterogeneous sources of information. RDF based applications are usually accompanied with SPARQL stores which enable to efficiently manage and query RDF data. In spite of its well known benefits, the adoption of RDF in practice by web programmers is still lacking and SPARQL stores are usually deployed without proper documentation and quality assurance. However, the producers of RDF data usually know the implicit schema of the data they are generating, but they don't do it traditionally. In the last years, two technologies have been developed to describe and validate RDF content using the term shape: Shape Expressions (ShEx) and Shapes Constraint Language (SHACL). We will present a motivation for their appearance and compare them, as well as some applications and tools that have been developed.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;RDF</kwd>
        <kwd>ShEx</kwd>
        <kwd>SHACL</kwd>
        <kwd>Validating</kwd>
        <kwd>Data quality</kwd>
        <kwd>Semantic web</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>RDF is a flexible knowledge
representation language based of graphs which
has been successfully adopted in semantic web
applications. In this tutorial we will describe two
languages that have recently been proposed for
RDF validation: Shape Expressions (ShEx) and
Shapes Constraint Language (SHACL).ShEx was
proposed as a concise and intuitive language for
describing RDF data in 2014 [1]. The syntax of
ShEx is inspired by SPARQL. ShEx has been
recently adopted in several projects like
Wikidata [2]. SHACL was accepted as a W3C
recommendation in 2017​1 ​and has also been
adopted by a large number of companies.</p>
      <p>
        Although both ShEx and SHACL have
similar goals, the underlying philosophy is
different: while ShEx schemas provide
descriptions about the expected RDF data,
SHACL shapes graphs provide constraints and
things that are not allowed [3].
In the tutorial we will present an overview of both
and describe some challenges and future work [
        <xref ref-type="bibr" rid="ref1">4</xref>
        ]
      </p>
    </sec>
    <sec id="sec-2">
      <title>2. Acknowledgements</title>
      <p>This work has been partially funded by the
Spanish Ministry of Economy, Industry and
Competitiveness, project: TIN2017-88877-R</p>
    </sec>
    <sec id="sec-3">
      <title>3. References</title>
      <p>https://www.w3.org/TR/shacl/</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>Labra</given-names>
            <surname>Gayo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.E.</given-names>
            ,
            <surname>García-González</surname>
          </string-name>
          <string-name>
            <given-names>H.</given-names>
            ,
            <surname>Fernández-Alvarez</surname>
          </string-name>
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Prud'</surname>
          </string-name>
          hommeaux
          <string-name>
            <surname>E.</surname>
          </string-name>
          (
          <year>2019</year>
          )
          <article-title>Challenges in RDF Validation</article-title>
          .
          <source>Studies in Computational Intelligence</source>
          , vol
          <volume>815</volume>
          . Springer, Cham.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>