graph/formats/rdf: add URDNA2015 and URGNA2012 canonicalisation

With the inclusion of the complete JSON-LD RDF Dataset Normalization test
suite these can now be dual licensed.
This commit is contained in:
Dan Kortschak
2020-12-11 09:57:46 +10:30
parent a6eddb68ae
commit 3f0deff25e
142 changed files with 7453 additions and 1 deletions
+95
View File
@@ -0,0 +1,95 @@
<!DOCTYPE html>
<html lang='en' prefix='rdfn: http://json-ld.github.io/normalization/tests/vocab# mf: http://www.w3.org/2001/sw/DataAccess/tests/test-manifest# rdft: http://www.w3.org/ns/rdftest#'>
<head>
<meta content='text/html;charset=utf-8' http-equiv='Content-Type'>
<meta content='width=device-width, initial-scale=1.0' name='viewport'>
<link href='https://www.w3.org/StyleSheets/TR/base' rel='stylesheet' type='text/css'>
<style>
body: {bacground-image: none;}
dt {margin-top: 2em;}
dd code {display: inline;}
footer {text-align: center;}
</style>
<title>
RDF Dataset Normalization Test Vocabulary
</title>
</head>
<body resource='http://json-ld.github.io/normalization/tests/vocab#' typeof='owl:Ontology'>
<meta property='dc:creator' value='Gregg Kellogg'>
<link href='http://json-ld.github.io/normalization/tests/vocab#' property='dc:identifier'>
<p>
<a href='http://www.w3.org/'>
<img alt='W3C' height='48' src='http://www.w3.org/Icons/w3c_home' width='72'>
</a>
</p>
<h1 property='dc:title rdfs:label'>RDF Dataset Normalization Test Vocabulary</h1>
<span property='dc:description rdfs:comment'>
<p>This is a vocabulary document used to define classes and properties used in
<a href="http://json-ld.github.io/normalization/tests/">RDF Dataset Normalization Test Cases</a> and associated test manifests.</p>
<p>This vocabulary extends the <a href="http://www.w3.org/ns/rdftest#">RDF Test Vocabulary</a>
and <a href="http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#">Test Manifest Vocabulary</a> with Normalization-specific tests.
The URI of the vocabulary is <code>http://json-ld.github.io/normalization/tests/vocab#</code>
(abbreviated by <code>rdfn</code> in this document).
<a href="vocab.ttl">Turtle</a> and <a href="vocab.jsonld">JSON-LD</a> versions of the vocabular are also available.
The vocabulary is published by the <a href="https://www.w3.org/community/credentials/">W3C Credentials Community Group</a>.</p>
</span>
<section>
<h2>Vocabulary Terms</h2>
<p>The vocabulary terms below constitute the complete RDF Dataset Normalization Test vocabulary</p>
<section>
<h3 id='classes'>Classes</h3>
<dl>
<dt about='rdfn:Test' property='rdfs:label' typeof='rdfs:Class'>rdfn:Test</dt>
<dd about='rdfn:Test'>
<em property='rdfs:label'>Superclass of all RDF Dataset Normalization tests</em>
<span property='rdfs:comment'><p>All RDF Dataset Normalization tests have an input file referenced using <code>mf:action</code> and a result file referenced using <code>mf:result</code>. Results are compared as text where the result of running the test is serialized to canonical N-Quads, lexicographically-sorted.</p></span>
<div>
<strong>
subClassOf:
</strong>
<ul>
<li>
<code property='rdfs:subClassOf' resource='mf:ManifestEntry'>mf:ManifestEntry</code>
</li>
<li>
<code property='rdfs:subClassOf' resource='rdft:Test'>rdft:Test</code>
</li>
</ul>
</div>
</dd>
<dt about='rdfn:Urdna2015EvalTest' property='rdfs:label' typeof='rdfs:Class'>rdfn:Urdna2015EvalTest</dt>
<dd about='rdfn:Urdna2015EvalTest'>
<em property='rdfs:label'>URDNA2015 Evaluation Test</em>
<span property='rdfs:comment'><p>Normalization performed using the URDNA2015 algorithm.</p></span>
<div>
<strong>
subClassOf:
</strong>
<code property='rdfs:subClassOf' resource='rdfn:Test'>rdfn:Test</code>
</div>
</dd>
<dt about='rdfn:Urgna2012EvalTest' property='rdfs:label' typeof='rdfs:Class'>rdfn:Urgna2012EvalTest</dt>
<dd about='rdfn:Urgna2012EvalTest'>
<em property='rdfs:label'>URGNA2012 Evaluation Test</em>
<span property='rdfs:comment'><p>Normalization performed using the URGNA2012 algorithm.</p></span>
<div>
<strong>
subClassOf:
</strong>
<code property='rdfs:subClassOf' resource='rdfn:Test'>rdfn:Test</code>
</div>
</dd>
</dl>
</section>
<section>
<h3 id='properties'>Properties</h3>
<dl>
</dl>
</section>
</section>
<footer>
<span property='dc:publisher'>W3C Credentials Community Group</span>
</footer>
</body>
</html>