<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Sparna Blog &#187; validation</title>
	<atom:link href="https://blog.sparna.fr/tag/validation/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.sparna.fr</link>
	<description>Web de données &#124; Architecture de l&#039;information &#124; Accès aux connaissances</description>
	<lastBuildDate>Tue, 03 Jun 2025 10:30:27 +0000</lastBuildDate>
	<language>fr-FR</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>SHACL Play! free online SHACL validator for RDF data</title>
		<link>https://blog.sparna.fr/2020/03/11/shacl-play-online-shacl-rdf-validator/</link>
		<comments>https://blog.sparna.fr/2020/03/11/shacl-play-online-shacl-rdf-validator/#comments</comments>
		<pubDate>Wed, 11 Mar 2020 14:00:37 +0000</pubDate>
		<dc:creator><![CDATA[Thomas Francart]]></dc:creator>
				<category><![CDATA[SHACL]]></category>
		<category><![CDATA[SHACL Play]]></category>
		<category><![CDATA[RDF]]></category>
		<category><![CDATA[validation]]></category>

		<guid isPermaLink="false">http://blog.sparna.fr/?p=1301</guid>
		<description><![CDATA[<p>SHACL Play! at http://shacl-play.sparna.fr/ is a free online RDF validator based on SHACL. It encapsulates TopQuadrant&#8217;s Java SHACL implementation as the actual validation engine. The code of SHACL Play is available on Github. Give the input RDF data to be validated, by uploading an RDF file, pointing to a URL, or copy/pasting inline data; Give the&#8230;</p>
<p>Cet article <a rel="nofollow" href="https://blog.sparna.fr/2020/03/11/shacl-play-online-shacl-rdf-validator/">SHACL Play! free online SHACL validator for RDF data</a> est apparu en premier sur <a rel="nofollow" href="https://blog.sparna.fr">Sparna Blog</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p><strong>SHACL Play!</strong> at <strong><a href="http://shacl-play.sparna.fr/">http://shacl-play.sparna.fr/</a></strong> is a free online RDF validator based on <a href="https://www.w3.org/TR/shacl/">SHACL</a>. It encapsulates <a href="https://github.com/TopQuadrant/shacl">TopQuadrant&rsquo;s Java SHACL implementation</a> as the actual validation engine. The code of SHACL Play is <a href="https://github.com/sparna-git/shacl-play">available on Github</a>.</p>
<ol>
<li>Give the input RDF data to be validated, by uploading an RDF file, pointing to a URL, or copy/pasting inline data;</li>
<li>Give the SHACL rules to use for validation, by uploading a file, pointing to a URL, copy/pasting inline data, or selecting the shapes from the catalog (see below);</li>
<li>Validate, and get a human-readable report generated from the <a href="https://www.w3.org/TR/shacl/#validation-report">SHACL raw validation report</a>;</li>
<li>Access to the report in its RDF or CSV variant;</li>
</ol>
<p>Here is a screenshot of how the validation report looks like :</p>
<p><a href="http://blog.sparna.fr/wp-content/uploads/2020/03/shacl-play-validation-report.png"><img class="aligncenter size-large wp-image-1305" src="http://blog.sparna.fr/wp-content/uploads/2020/03/shacl-play-validation-report-1024x603.png" alt="shacl-play-validation-report" width="650" height="383" /></a></p>
<p><strong>SHACL Play!</strong> features :</p>
<ol>
<li><strong>Free, no registration required, no limit</strong>;</li>
<li>Easy-to-use <strong>input form</strong>;</li>
<li><strong>Multiple RDF serialisations</strong> supported (Turtle, RDF/XML, n3, TriG);</li>
<li><strong>Versatile input methods</strong> for both RDF data and SHACL rules (upload, URL, copy/paste, catalog);</li>
<li><strong>Human-readable validation report</strong>, for quick analysis of the issues to be fixed in the data (or adjusted in the shapes);</li>
<li><strong>Downloadable validation reports</strong> in CSV or raw RDF;</li>
<li><strong>Asynchronous validation</strong> to avoid timeouts, for large datasets (greater than 100000 triples);</li>
<li><strong>Permalinks</strong> to validation reports when both RDF dataset and SHACL rules are online;</li>
<li><strong>Catalog of online public shapes</strong> for documentation and quick validation (see below);</li>
</ol>
<p>SHACL Play also features a command-line variant (see the <a href="https://github.com/sparna-git/shacl-play/wiki">documentation on the Github wiki</a>).</p>
<p>Future features could include :</p>
<ol>
<li>Improved display of validation report, with possibly different styles of report (depending on the &laquo;&nbsp;styles&nbsp;&raquo; of the Shapes):</li>
<li>Human-readable display of a SHACL graph;</li>
<li>Online data transformation engine based on <a href="https://www.w3.org/TR/shacl-af/">SHACL Rules</a>, with a first focus on converting an OWL ontology to SHACL constraints (see this <a href="https://www.topquadrant.com/from-owl-to-shacl-in-an-automated-way/">excellent description of one possible set of rules to derive SHACL shapes from an OWL ontology</a>, by Irene Polikoff from TopQuadrant);</li>
</ol>
<p>&nbsp;</p>
<h3>The Shapes Catalog</h3>
<p>SHACL Play includes a <a href="http://shacl-play.sparna.fr/catalog">catalog of online Shapes</a>. The catalog is collaboratively editable by modifying the <a href="https://github.com/sparna-git/SHACL-Catalog/blob/master/shacl-catalog.ttl">Shapes Catalog source file on Github</a>, through pull requests.</p>
<p>Adding an entry to the catalog allows to:</p>
<ul>
<li>See the shapes listed in the catalog page;</li>
<li>Get a form to directly validate data against these Shapes, e.g. if you want to validate your Shapes against &laquo;&nbsp;SHACL for SHACL&nbsp;&raquo; you can go to <a href="http://shacl-play.sparna.fr/validate?shapes=shsh">http://shacl-play.sparna.fr/validate?shapes=shsh</a>;</li>
<li>Get a direct permaling to the validation report if the validated RDF data is also online, so there even no need to submit anything through a form to get a validation report. e.g. <a href="http://shacl-play.sparna.fr/validate?shapes=shaclplay-catalog&amp;url=https://raw.githubusercontent.com/sparna-git/SHACL-Catalog/master/shacl-catalog.ttl">http://shacl-play.sparna.fr/validate?shapes=shaclplay-catalog&amp;url=https://raw.githubusercontent.com/sparna-git/SHACL-Catalog/master/shacl-catalog.ttl</a> is the direct link for the validation of the <a href="https://github.com/sparna-git/SHACL-Catalog/blob/master/shacl-catalog.ttl">Shapes Catalog source file</a> against the <a href="http://shacl-play.sparna.fr/resources/shapes/shacl-play-shapes-catalog.ttl">Shapes Catalog SHACL file</a>;</li>
</ul>
<h3>Another SHACL Validator</h3>
<p>Another SHACL validator is the SHACL playground is at <a href="https://shacl.org/playground/">https://shacl.org/playground/</a>. However the UI is too technical for newcomers, and it relies on a Javascript validator in the browser, thus I am not sure it would be capable of validating large Datasets.</p>
<h3>How to edit/create SHACL rules ?</h3>
<p>You need to create your own set of SHACL rules ? You don&rsquo;t have a tool to do that and you don&rsquo;t want to write Turtle file by hand ? One technique I use is to edit them in an Excel spreadsheet that is converted in RDF using <a href="http://labs.sparna.fr/skos-play/convert">SKOS Play Excel 2 RDF converter</a>. Here are 1 example of such a file : <a href="http://openarchaeo.huma-num.fr/federation/resources/shapes/OpenArchaeo-Shapes.xlsx">OpenArchaeo shapes</a> in Excel.</p>
<p>You could start from this template and modify it to create your own Shapes Graph.</p>
<p><strong>Now let&rsquo;s SHACL Play!</strong></p>
<p>&nbsp;</p>
<p><em>Post illustration : &laquo;&nbsp;Calculateur&nbsp;&raquo; Bulletin des sciences mathématiques 1922, found from https://www.bnf.fr/fr/mathematiques-informatique-et-sciences-du-numerique, from Gallica at <a href="https://gallica.bnf.fr/ark:/12148/bpt6k9620547z/f123.item">https://gallica.bnf.fr/ark:/12148/bpt6k9620547z/f123.item</a><br />
</em></p>
<p>Cet article <a rel="nofollow" href="https://blog.sparna.fr/2020/03/11/shacl-play-online-shacl-rdf-validator/">SHACL Play! free online SHACL validator for RDF data</a> est apparu en premier sur <a rel="nofollow" href="https://blog.sparna.fr">Sparna Blog</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://blog.sparna.fr/2020/03/11/shacl-play-online-shacl-rdf-validator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
