author | Gregg Kellogg <gregg@kellogg-assoc.com> |
Tue, 18 Feb 2014 16:18:39 -0800 | |
changeset 1959 | 9800bfdf7172 |
parent 1958 | 54c208387acd |
child 1960 | 201fb3bf780a |
ns/rdftest.html | ||
ns/rdftest.jsonld | ||
ns/rdftest.ttl |
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ns/rdftest.html Tue Feb 18 16:18:39 2014 -0800 @@ -0,0 +1,120 @@ +<!DOCTYPE html> +<html lang="en" prefix=" + dc: http://purl.org/dc/terms/ + rdfs: http://www.w3.org/2000/01/rdf-schema# + foaf: http://xmlns.com/foaf/0.1/ + rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns# + owl: http://www.w3.org/2002/07/owl# + rdft: http://www.w3.org/ns/rdftest# + "> + <head> + <meta charset="utf-8" /> + <title>The RDF 1.1 Test Vocabulary</title> + <base href="http://www.w3.org/ns/rdftest"/> + <link href="http://www.w3.org/StyleSheets/TR/W3C-ED" rel="stylesheet"> + <style> + body { + background-image: none; + } + </style> + </head> + <body typeof="owl:Ontology"> + <p><a href="http://www.w3.org/"><img src="http://www.w3.org/Icons/w3c_home" alt="W3C" height="48" width="72"></a></p> + <h1 property="dc:title rdfs:label">The JSON-LD Vocabulary</h1> + <p property="dc:description rdfs:comment">This is a vocabulary document and is used to define classes and properties used in + <a href="https://dvcs.w3.org/hg/rdf/raw-file/default/drafts/rdf11-testcases/Overview.html">RDF 1.1 Test Cases</a> and associated test manifests. + The URI of the vocabulary is <code>http://www.w3.org/ns/rdftest#</code> (abbreviated by <code>rdft:</code> in this document). + <a href="rdftest.ttl">Turtle</a> and an <a href="rdftest.jsonld">JSON-LD</a> versions of the vocabulary are also available. + The vocabulary is published by <a property="dc:publisher" href="http://www.w3.org" resource="http://www.w3.org/data#W3C">W3C</a>. + </p> + <h2>Vocabulary Terms</h2> + <p>The vocabulary terms below constitute the complete RDF Test vocabulary.</p> + <h3>Classes</h3> + <p>The vocabulary defines the following classes :</p> + <ul> + <li about="rdft:Approval" typeof="rdfs:Class"><code>rdft:Approval</code> – <span property="rdfs:label">Approval</span>. + <span property="rdfs:comment">The superclass of all test approval statuses.</span>. + </li> + <li about="rdft:Approved" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:Approval">rdft:Approved</code> – <span property="rdfs:label">Approved</span>. + <span property="rdfs:comment">Indicates that a test is approved.</span>. + </li> + <li about="rdft:Proposed" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:Approval">rdft:Proposed</code> – <span property="rdfs:label">Proposed</span>. + <span property="rdfs:comment">Indicates that a test is proposed, but not approved.</span>. + </li> + <li about="rdft:Rejected" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:Rejected">rdft:Proposed</code> – <span property="rdfs:label">Rejected</span>. + <span property="rdfs:comment">Indicates that a test is not approved.</span>. + </li> + <li about="rdft:Test" typeof="rdfs:Class"><code>rdft:Test</code> – <span property="rdfs:label">Test</span>. + <span property="rdfs:comment">Superclass of all RDF Tests.</span>. + </li> + <li about="rdft:TestEval" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:Test">rdft:TestEval</code> – <span property="rdfs:label">Test Evaluation</span>. + <span property="rdfs:comment">Superclass of all RDF Evaluation Tests.</span>. + </li> + <li about="rdft:TestNTriplesNegativeSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestNTriplesNegativeSyntax</code> – <span property="rdfs:label">N-Triples Negative Syntax</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/n-triples/">N-Triples</a> syntax test.</span>. + </li> + <li about="rdft:TestNTriplesPositiveSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestNTriplesPositiveSyntax</code> – <span property="rdfs:label">N-Triples Positive Syntax</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/n-triples/">N-Triples</a> syntax test.</span>. + </li> + <li about="rdft:TestNQuadsNegativeSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestNQuadsNegativeSyntax</code> – <span property="rdfs:label">N-Quads Negative Syntax</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/n-quads/">N-Quads</a> syntax test.</span>. + </li> + <li about="rdft:TestNQuadsPositiveSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestNQuadsPositiveSyntax</code> – <span property="rdfs:label">N-Quads Positive Syntax</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/n-quads/">N-Quads</a> syntax test.</span>. + </li> + <li about="rdft:TestSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:Test">rdft:TestSyntax</code> – <span property="rdfs:label">Test Syntax</span>. + <span property="rdfs:comment">Superclass of all RDF Syntax Tests.</span>. + </li> + <li about="rdft:TestTrigEval" typeof="rdfs:Class"><code>rdft:TestTrigEval</code> – <span property="rdfs:label">TriG Positive Evaluation</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/trig/">TriG</a> evaluation test.</span>. + </li> + <li about="rdft:TestTrigNegativeEval" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestEval">rdft:TestTrigNegativeEval</code> – <span property="rdfs:label">TriG Negative Evaluation</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/trig/">TriG</a> evaluation test.</span>. + </li> + <li about="rdft:TestTriGNegativeSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestTriGNegativeSyntax</code> – <span property="rdfs:label">TriG Negative Syntax</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/trig/">TriG</a> syntax test.</span>. + </li> + <li about="rdft:TestTriGPositiveSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax"e>rdft:TestTriGPositiveSyntax</code> – <span property="rdfs:label">TriG Positive Syntax</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/trig/">TriG</a> syntax test.</span>. + </li> + <li about="rdft:TestTurtleEval" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestEval">rdft:TestTurtleEval</code> – <span property="rdfs:label">Turtle Positive Evaluation</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/turtle/">Turtle</a> evaluation test.</span>. + </li> + <li about="rdft:TestTurtleNegativeEval" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestEval">rdft:TestTurtleNegativeEval</code> – <span property="rdfs:label">Turtle Negative Evaluation</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/turtle/">Turtle</a> evaluation test.</span>. + </li> + <li about="rdft:TestTurtleNegativeSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestTurtleNegativeSyntax</code> – <span property="rdfs:label">Turtle Negative Syntax</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/turtle/">Turtle</a> syntax test.</span>. + </li> + <li about="rdft:TestTurtlePositiveSyntax" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestSyntax">rdft:TestTurtlePositiveSyntax</code> – <span property="rdfs:label">Turtle Positive Syntax</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/turtle/">Turtle</a> syntax test.</span>. + </li> + <li about="rdft:XMLEval" typeof="rdfs:Class"><code property="rdfs:subClassOf" resource="rdft:TestEval">rdft:XMLEval</code> – <span property="rdfs:label">RDF/XML Evaluation</span>. + <span property="rdfs:comment">A positive <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a> evaluation test.</span>. + </li> + <li about="rdft:TestXMLNegativeSyntax" typeof="rdfs:Class"><code>rdft:TestXMLNegativeSyntax</code> – <span property="rdfs:label">RDF/XML Negative Syntax</span>. + <span property="rdfs:comment">A negative <a href="http://www.w3.org/TR/rdf-syntax-grammar/">RDF/XML</a> syntax test.</span>. + </li> + </ul> + + <h3>Properties</h3> + <p>The vocabulary defines the following classes :</p> + <ul> + <li about="rdft:approval" typeof="rdf:Property"><code>rdft:approval</code> – <span property="rdfs:label">approval</span>. + <span property="rdfs:comment">Approval status of a test.</span>. + This predicate has a domain of <a href="#Test" property="rdfs:domain">rdft:Test</a> and a range of + <a href="#Approval" property="rdfs:range">rdft:Approval</a>. + </li> + </ul> + <hr> + <p class="copyright"> + <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright">Copyright</a> © 2013 + <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> + (<a href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of Technology">MIT</abbr></a>, + <a href="http://www.ercim.eu/"><abbr title="European Research Consortium for Informatics and Mathematics">ERCIM</abbr></a>, + <a href="http://www.keio.ac.jp/">Keio</a>, <a href="http://ev.buaa.edu.cn/">Beihang</a>), All Rights Reserved. + W3C <a href="http://www.w3.org/Consortium/Legal/ipr-notice#Legal_Disclaimer">liability</a>, + <a href="http://www.w3.org/Consortium/Legal/ipr-notice#W3C_Trademarks">trademark</a> and + <a href="http://www.w3.org/Consortium/Legal/copyright-documents">document use</a> rules apply.</p> + </body> +</html>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ns/rdftest.jsonld Tue Feb 18 16:18:39 2014 -0800 @@ -0,0 +1,189 @@ +{ + "@context": { + "dc": "http://purl.org/dc/terms/", + "owl": "http://www.w3.org/2002/07/owl#", + "rdfs": "http://www.w3.org/2000/01/rdf-schema#", + "rdft": "http://www.w3.org/ns/rdftest#", + "label": "rdfs:label", + "description": "dc:description", + "commant": "rdfs:comment", + "publisher": { + "@id": "dc:publisher", + "@type": "@id" + }, + "subClassOf": { + "@id": "rdfs:subClassOf", + "@type": "@vocab" + }, + "range": { + "@id": "rdfs:range", + "@type": "@vocab" + }, + "domain": { + "@id": "rdfs:domain", + "@type": "@vocab" + }, + "@language": "en" + }, + "@graph": [ + { + "@id": "http://www.w3.org/ns/rdftest", + "@type": "owl:Ontology", + "description": "This is a vocabulary document and is used to define classes and properties used in\r\n RDF 1.1 Test Cases and associated test manifests.\r\n The URI of the vocabulary is http://www.w3.org/ns/rdftest# (abbreviated by rdft: in this document).\r\n Turtle and an JSON-LD versions of the vocabulary are also available.\r\n The vocabulary is published by W3C.\r\n ", + "publisher": "http://www.w3.org/data#W3C", + "dc:title": "The JSON-LD Vocabulary", + "commant": "This is a vocabulary document and is used to define classes and properties used in\r\n RDF 1.1 Test Cases and associated test manifests.\r\n The URI of the vocabulary is http://www.w3.org/ns/rdftest# (abbreviated by rdft: in this document).\r\n Turtle and an JSON-LD versions of the vocabulary are also available.\r\n The vocabulary is published by W3C.\r\n ", + "label": "The JSON-LD Vocabulary" + }, + { + "@id": "rdft:Approval", + "@type": "rdfs:Class", + "commant": "The superclass of all test approval statuses.", + "label": "Approval" + }, + { + "@id": "rdft:Approved", + "@type": "rdfs:Class", + "commant": "Indicates that a test is approved.", + "label": "Approved", + "subClassOf": "rdft:Approval" + }, + { + "@id": "rdft:Proposed", + "@type": "rdfs:Class", + "commant": "Indicates that a test is proposed, but not approved.", + "label": "Proposed", + "subClassOf": "rdft:Approval" + }, + { + "@id": "rdft:Rejected", + "@type": "rdfs:Class", + "commant": "Indicates that a test is not approved.", + "label": "Rejected", + "subClassOf": "rdft:Rejected" + }, + { + "@id": "rdft:Test", + "@type": "rdfs:Class", + "commant": "Superclass of all RDF Tests.", + "label": "Test" + }, + { + "@id": "rdft:TestEval", + "@type": "rdfs:Class", + "commant": "Superclass of all RDF Evaluation Tests.", + "label": "Test Evaluation", + "subClassOf": "rdft:Test" + }, + { + "@id": "rdft:TestNQuadsNegativeSyntax", + "@type": "rdfs:Class", + "commant": "A negative N-Quads syntax test.", + "label": "N-Quads Negative Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestNQuadsPositiveSyntax", + "@type": "rdfs:Class", + "commant": "A positive N-Quads syntax test.", + "label": "N-Quads Positive Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestNTriplesNegativeSyntax", + "@type": "rdfs:Class", + "commant": "A negative N-Triples syntax test.", + "label": "N-Triples Negative Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestNTriplesPositiveSyntax", + "@type": "rdfs:Class", + "commant": "A positive N-Triples syntax test.", + "label": "N-Triples Positive Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestSyntax", + "@type": "rdfs:Class", + "commant": "Superclass of all RDF Syntax Tests.", + "label": "Test Syntax", + "subClassOf": "rdft:Test" + }, + { + "@id": "rdft:TestTriGNegativeSyntax", + "@type": "rdfs:Class", + "commant": "A negative TriG syntax test.", + "label": "TriG Negative Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestTriGPositiveSyntax", + "@type": "rdfs:Class", + "commant": "A positive TriG syntax test.", + "label": "TriG Positive Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestTrigEval", + "@type": "rdfs:Class", + "commant": "A positive TriG evaluation test.", + "label": "TriG Positive Evaluation" + }, + { + "@id": "rdft:TestTrigNegativeEval", + "@type": "rdfs:Class", + "commant": "A negative TriG evaluation test.", + "label": "TriG Negative Evaluation", + "subClassOf": "rdft:TestEval" + }, + { + "@id": "rdft:TestTurtleEval", + "@type": "rdfs:Class", + "commant": "A positive Turtle evaluation test.", + "label": "Turtle Positive Evaluation", + "subClassOf": "rdft:TestEval" + }, + { + "@id": "rdft:TestTurtleNegativeEval", + "@type": "rdfs:Class", + "commant": "A negative Turtle evaluation test.", + "label": "Turtle Negative Evaluation", + "subClassOf": "rdft:TestEval" + }, + { + "@id": "rdft:TestTurtleNegativeSyntax", + "@type": "rdfs:Class", + "commant": "A negative Turtle syntax test.", + "label": "Turtle Negative Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestTurtlePositiveSyntax", + "@type": "rdfs:Class", + "commant": "A positive Turtle syntax test.", + "label": "Turtle Positive Syntax", + "subClassOf": "rdft:TestSyntax" + }, + { + "@id": "rdft:TestXMLNegativeSyntax", + "@type": "rdfs:Class", + "commant": "A negative RDF/XML syntax test.", + "label": "RDF/XML Negative Syntax" + }, + { + "@id": "rdft:XMLEval", + "@type": "rdfs:Class", + "commant": "A positive RDF/XML evaluation test.", + "label": "RDF/XML Evaluation", + "subClassOf": "rdft:TestEval" + }, + { + "@id": "rdft:approval", + "@type": "http://www.w3.org/1999/02/22-rdf-syntax-ns#Property", + "commant": "Approval status of a test.", + "domain": "rdft:Test", + "label": "approval", + "range": "rdft:Approval" + }] +} \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ns/rdftest.ttl Tue Feb 18 16:18:39 2014 -0800 @@ -0,0 +1,129 @@ +@prefix dcterms: <http://purl.org/dc/terms/> . +@prefix owl: <http://www.w3.org/2002/07/owl#> . +@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix rdft: <http://www.w3.org/ns/rdftest#> . + +<http://www.w3.org/ns/rdftest> a owl:Ontology; + rdfs:label "The JSON-LD Vocabulary"@en; + dcterms:title "The JSON-LD Vocabulary"@en; + dcterms:description """This is a vocabulary document and is used to define classes and properties used in + RDF 1.1 Test Cases and associated test manifests. + The URI of the vocabulary is http://www.w3.org/ns/rdftest# (abbreviated by rdft: in this document). + Turtle and an JSON-LD versions of the vocabulary are also available. + The vocabulary is published by W3C. + """@en; + dcterms:publisher <http://www.w3.org/data#W3C>; + rdfs:comment """This is a vocabulary document and is used to define classes and properties used in + RDF 1.1 Test Cases and associated test manifests. + The URI of the vocabulary is http://www.w3.org/ns/rdftest# (abbreviated by rdft: in this document). + Turtle and an JSON-LD versions of the vocabulary are also available. + The vocabulary is published by W3C. + """@en . + +rdft:Approval a rdfs:Class; + rdfs:label "Approval"@en; + rdfs:comment "The superclass of all test approval statuses."@en . + +rdft:Approved a rdfs:Class; + rdfs:label "Approved"@en; + rdfs:comment "Indicates that a test is approved."@en; + rdfs:subClassOf rdft:Approval . + +rdft:Proposed a rdfs:Class; + rdfs:label "Proposed"@en; + rdfs:comment "Indicates that a test is proposed, but not approved."@en; + rdfs:subClassOf rdft:Approval . + +rdft:Rejected a rdfs:Class; + rdfs:label "Rejected"@en; + rdfs:comment "Indicates that a test is not approved."@en; + rdfs:subClassOf rdft:Rejected . + +rdft:Test a rdfs:Class; + rdfs:label "Test"@en; + rdfs:comment "Superclass of all RDF Tests."@en . + +rdft:TestEval a rdfs:Class; + rdfs:label "Test Evaluation"@en; + rdfs:comment "Superclass of all RDF Evaluation Tests."@en; + rdfs:subClassOf rdft:Test . + +rdft:TestNQuadsNegativeSyntax a rdfs:Class; + rdfs:label "N-Quads Negative Syntax"@en; + rdfs:comment "A negative N-Quads syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestNQuadsPositiveSyntax a rdfs:Class; + rdfs:label "N-Quads Positive Syntax"@en; + rdfs:comment "A positive N-Quads syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestNTriplesNegativeSyntax a rdfs:Class; + rdfs:label "N-Triples Negative Syntax"@en; + rdfs:comment "A negative N-Triples syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestNTriplesPositiveSyntax a rdfs:Class; + rdfs:label "N-Triples Positive Syntax"@en; + rdfs:comment "A positive N-Triples syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestSyntax a rdfs:Class; + rdfs:label "Test Syntax"@en; + rdfs:comment "Superclass of all RDF Syntax Tests."@en; + rdfs:subClassOf rdft:Test . + +rdft:TestTriGNegativeSyntax a rdfs:Class; + rdfs:label "TriG Negative Syntax"@en; + rdfs:comment "A negative TriG syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestTriGPositiveSyntax a rdfs:Class; + rdfs:label "TriG Positive Syntax"@en; + rdfs:comment "A positive TriG syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestTrigEval a rdfs:Class; + rdfs:label "TriG Positive Evaluation"@en; + rdfs:comment "A positive TriG evaluation test."@en . + +rdft:TestTrigNegativeEval a rdfs:Class; + rdfs:label "TriG Negative Evaluation"@en; + rdfs:comment "A negative TriG evaluation test."@en; + rdfs:subClassOf rdft:TestEval . + +rdft:TestTurtleEval a rdfs:Class; + rdfs:label "Turtle Positive Evaluation"@en; + rdfs:comment "A positive Turtle evaluation test."@en; + rdfs:subClassOf rdft:TestEval . + +rdft:TestTurtleNegativeEval a rdfs:Class; + rdfs:label "Turtle Negative Evaluation"@en; + rdfs:comment "A negative Turtle evaluation test."@en; + rdfs:subClassOf rdft:TestEval . + +rdft:TestTurtleNegativeSyntax a rdfs:Class; + rdfs:label "Turtle Negative Syntax"@en; + rdfs:comment "A negative Turtle syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestTurtlePositiveSyntax a rdfs:Class; + rdfs:label "Turtle Positive Syntax"@en; + rdfs:comment "A positive Turtle syntax test."@en; + rdfs:subClassOf rdft:TestSyntax . + +rdft:TestXMLNegativeSyntax a rdfs:Class; + rdfs:label "RDF/XML Negative Syntax"@en; + rdfs:comment "A negative RDF/XML syntax test."@en . + +rdft:XMLEval a rdfs:Class; + rdfs:label "RDF/XML Evaluation"@en; + rdfs:comment "A positive RDF/XML evaluation test."@en; + rdfs:subClassOf rdft:TestEval . + +rdft:approval a rdf:Property; + rdfs:label "approval"@en; + rdfs:comment "Approval status of a test."@en; + rdfs:domain rdft:Test; + rdfs:range rdft:Approval . \ No newline at end of file