Copyright © 2003 W3C ® ( MIT , ERCIM , Keio ), All Rights Reserved. W3C liability , trademark , document use and software licensing rules apply.
This document describes the RDF Test Cases deliverable for the RDF Core Working Group as defined in the WG's Working Group's Charter .
This section describes the status of this document at the time of its publication. Other documents may supersede this document. The A list of current W3C publications and the latest status revision of this document series is maintained at technical report can be found in the W3C. W3C technical reports index at http://www.w3.org/TR/.
This is a W3C Last Call Working Draft of the RDF Core Working Group and has been produced as part of the W3C Semantic Web Activity ( Activity Statement ).
Detailed changes from the previous 05 September 2003 working draft and the 23 January 2003 last call working draft are described in the Changes section .
This document is in the Last Call review period, which ends on 21 February 07 November 2003. This Last Call publication consolidates changes and editorial improvements undertaken in response to feedback received during the previous Last Call publication of the RDFCore specifications which began on 23 January 2003. A list of the Last Call issues addressed by the Working Group is also available. This document has been endorsed by the RDF Core Working Group.
This deleted text: version includes the <a href="#ntriples"> N-Triples </a> language definition. The working group has approved the remaining test cases. The test case repository will be updated in the light of feedback from this draft. Detailed changes are recorded in <a href="#change_log"> Appendix A: ChangeLog </a>. </p> <p> This document is being released for review by W3C Members and other interested parties to encourage feedback and comments, especially with regard to how the changes made affect existing implementations and content.
In conformance with W3C policy requirements, known patent and IPR constraints associated with this Working Draft are detailed on the RDF Core Working Group Patent Disclosure page.
Comments on this document are invited and should be sent to the public mailing list www-rdf-comments@w3.org . An archive of comments is available at http://lists.w3.org/Archives/Public/www-rdf-comments/ .
This is Publication as a deleted text: public W3C Last Call Working Draft for review does not imply endorsement by the W3C Members and other interested parties. Membership. This deleted text: section describes the status of this document at the time of its publication. It is a draft document and may be updated, replaced, replaced or obsoleted by other documents at any time. It is inappropriate to deleted text: use W3C Working Drafts as reference material or to cite this document as other than "work work in progress". progress. A list of current W3C Recommendations and other technical documents can be found at <a href="/TR/"> http://www.w3.org/TR/ </a>. http://www.w3.org/TR/.
One of the deliverables specified in Charter of the RDF Core Working Group is: a set of machine-processable test cases corresponding to technical issues addressed by the WG Working Group . This document describes the test cases that fulfill that deliverable but it does not contain the test cases themselves. The test cases are available at http://www.w3.org/2000/10/rdf-tests/rdfcore/ .
The RDF Interest Group and other members of the RDF community have identified issues/ambiguities in the [ RDFMS ] Specification and the [ RDF-SCHEMA ] Candidate Recommendation. These issues have been collected and categorized in the RDF Core WG Working Group Issue Tracking document. The RDF Core Working Group uses this issue list to guide its work. The issues list is a working document; it is updated as new issues are identified. It is updated as the Working Group makes decisions as documented in the Attention Developers section of the document.
The complete specification of RDF consists of a number of documents:
A comprehensive and complete test suite for RDF should cover all of the rules in the <a href="http://www.w3.org/TR/REC-rdf-syntax/#grammar"> Formal Grammar for RDF . The Working Group, however, is not chartered to deliver such a test suite but rather to create test cases for the issues the Working Group addresses (when applicable). Although the Working Group will not create test cases for some grammar rules (e.g. rule [6.1]), if such test cases are donated to the W3C the Consortium may add such test cases to this set of test cases.
The RDF Errata documents known errors in [ RDFMS ]. Since errata are considered normative changes to a W3C Specification and Working Group decisions are not normative until a specification is a W3C Recommendation, none of the decisions made by the RDF Core Working Group have (to date) been reflected in the errata.
The Test Case Repository is located at <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/"> http://www.w3.org/2000/10/rdf-tests/rdfcore/ </a>. Each directory in the repository is [ REPOSITORY ] contains subdirectories, each containing test cases devoted to a single issue. Most directories have Each directory contains a name that is identical to manifest file describing the related issue tests in that directory. Where an issue originated with the deleted text: <a href="http://www.w3.org/2000/03/rdf-tracking/"> RDF Issue Tracking process [ ISSUES document. For example, the directory <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-ns-prefix-confusion/"> rdf-ns-prefix-confusion </a> is identical to the <a href="http://www.w3.org/2000/03/rdf-tracking/#rdf-ns-prefix-confusion"> rdf-ns-prefix-confusion </a> issue. In the other cases, the directory does not have an associated issue in the issue list (e.g. <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/amp-in-url/"> amp-in-url </a> ). If a directory is empty, then no test cases have been created for ], the issue. manifest will indicate this fact.
The deleted text: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/"> Test Case Repository deleted text: </a> contains ZIP files of all Approved test cases in <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/approved_20030117.zip"> approved_20030117.zip </a> ( <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/latest_Approved.zip"> latest version [ APPROVED ) ] as well as Zip files a ZIP archive of all deleted text: <em> Approved and Not Approved test cases </em> in <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/all_20030117.zip"> all_20030117.zip </a> ( <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/latest_All.zip"> latest version [ FULLTESTS ). ]
The Manifest file <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf"> http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf [ MANIFEST ] contains a machine-readable manifest of the test cases. The deleted text: Manifest.rdf format of this file is described below.
The manifest file <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf"> http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf [ MANIFEST ] contains a machine-readable description of the test cases in RDF/XML. Care has been taken to ensure that the Manifest.rdf this file follows a simple format to assist in machine-processing the test cases.
The file consists of a simple header (see <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/skeleton/manifestHead.rdf"> http://www.w3.org/2000/10/rdf-tests/rdfcore/skeleton/manifestHead.rdf [ MANIFEST-HEAD ), ], individual descriptions of the test cases, and a closing footer ( <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/skeleton/manifestTail.rdf"> http://www.w3.org/2000/10/rdf-tests/rdfcore/skeleton/manifestTail.rdf [ MANIFEST-TAIL ). ].
The test cases are divided into the following categories:
<test:PositiveParserTest rdf:about="http://w3.example.org/test001"> <test:issue rdf:resource="http://w3.example.org/rdf-tracking/#example1" /> <test:status>APPROVED</test:status> <test:approval rdf:resource="http://rdfcore.example.org/archives/001.html" /> <test:description> This is a simple positive parser test example. </test:description> <test:inputDocument> <test:RDF-XML-Document rdf:about="http://w3.example.org/test001.rdf" /> </test:inputDocument> <test:outputDocument> <test:NT-Document rdf:about="http://w3.example.org/test001.nt" /> </test:outputDocument> <test:warning>Some parsers may produce a warning when running this test</test:warning> </test:PositiveParserTest>
<test:NegativeParserTest rdf:about="http://w3.example.org/error001"> <test:issue rdf:resource="http://w3.example.org/rdf-tracking/#example1" /> <test:status>APPROVED</test:status> <test:inputDocument> <test:RDF-XML-Document rdf:about="http://w3.example.org/error001.rdf" /> </test:inputDocument> </test:NegativeParserTest>
<test:entailmentRules rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#" />then the test succeeds if the entailment holds according to the rules of RDF-entailment as specified in [ RDF-SEMANTICS ]. If the following two elements are present
<test:entailmentRules rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#" /> <test:entailmentRules rdf:resource="http://www.w3.org/2000/01/rdf-schema#" />then the test succeeds if the entailment holds according to the rules of RDFS-entailment as specified in [ RDF-SEMANTICS ].
<test:PositiveEntailmentTest rdf:about="http://w3.example.org/rdfs-domain-and-range/conjunction-test"> <test:description> This test demonstrates the conjunctive nature of range and domain. </test:description> <test:entailmentRules rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#" /> <test:entailmentRules rdf:resource="http://www.w3.org/2000/01/rdf-schema#" /> <test:premiseDocument> <test:NT-Document rdf:about="http://w3.example.org/rdfs-domain-and-range/test001.nt" /> </test:premiseDocument> <test:premiseDocument> <test:NT-Document rdf:about="http://w3.example.org/rdfs-domain-and-range/test002.nt" /> </test:premiseDocument> <test:premiseDocument> <test:NT-Document rdf:about="http://w3.example.org/rdfs-domain-and-range/test003.nt" /> </test:premiseDocument> <test:conclusionDocument> <test:NT-Document rdf:about="http://w3.example.org/rdfs-domain-and-range/test004.nt" /> </test:conclusionDocument> </test:PositiveEntailmentTest>
According to [ RDF-SEMANTICS ], a premise document that contains a semantic error with respect to any constraints imposed by the entailment rules selected will come out be false in any interpretation (and hence entail anything).
Support for such situations is provided by the manifest format by declaring an premise or conclusion pseudo-document as follows:
<test:conclusionDocument> <test:False-Document/> </test:conclusionDocument>
By convention, such a pseudo-document is said to come out false under any interpretation.
<test:NegativeEntailmentTest rdf:about="http://w3.example.org/statement-entailment/test001"> <test:status>PENDING</test:status> <test:approval rdf:resource="http://rdfcore.example.org/Archives/Public/w3c-rdfcore-wg/2002Feb/0476.html" /> <test:description> RDF Core WG RESOLVED that a reified statement was a stating, not a statement. The following entailment does not, therefore, hold. </test:description> <test:entailmentRules rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#" /> <test:entailmentRules rdf:resource="http://www.w3.org/2000/01/rdf-schema#" /> <test:premiseDocument> <test:NT-Document rdf:about="http://w3.example.org/statement-entailment/test001a.nt" /> </test:premiseDocument> <test:conclusionDocument> <test:NT-Document rdf:about="http://w3.example.org/statement-entailment/test001b.nt" /> </test:conclusionDocument> </test:NegativeEntailmentTest>
<test:entailmentRules rdf:resource="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes#" /> <test:datatypeSupport rdf:resource="http://www.w3.org/2001/XMLSchema#integer" /> <test:datatypeSupport rdf:resource="http://dt.example.org/datatype#foo" />For the purposes of the test suite, if a test case requires datatype support for a set of datatypes, { T , U , V , ... } then the following three pieces of machinery are required:
<test:MiscellaneousTest rdf:about="http://w3.example.org/misc001"> <test:status>PENDING</test:status> <test:description> A serializer asked to output the graph described in the test001 document should raise an exception since it cannot be described using RDF/XML. </test:description> <test:document> <test:NT-Document rdf:about="http://w3.example.org/nonserializable/test001.nt" /> </test:document> </test:MiscellaneousTest>
In addition, each test case description may have the following common attributes:
<test:issue rdf:resource="http://www.w3.org/2000/03/rdf-tracking/#rdfs-no-cycles-in-subClassOf" />
<test:status>APPROVED</test:status>
<test:approval rdf:resource="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Feb/0476.html" />
<test:discussion rdf:resource="http://rdfcore.example.org/" />
<test:description> Text describing the test case goes here. </test:description>
<test:warning> Text describing the warning goes here. </test:warning>
The test cases in the following table have been approved.
<table border="1" class="tcList" summary="test cases">Test cases without an issue: 49 57 tests | |||||||
---|---|---|---|---|---|---|---|
Positive parser tests (test cases: 13) 15) | |||||||
Input files | Output file | Warning? | Approved | ||||
amp-in-url/test001.rdf deleted text: | amp-in-url/test001.nt | RDFCore deleted text: WG Telecon 2001-09-21 | |||||
datatypes/test001.rdf deleted text: | datatypes/test001.nt | RDFCore deleted text: WG Telecon 2002-11-22 | |||||
datatypes/test002.rdf deleted text: | datatypes/test002.nt | RDFCore deleted text: WG Telecon 2002-11-22 | |||||
rdf-element-not-mandatory/test001.rdf | rdf-element-not-mandatory/test001.nt | RDFCore Telecon 2003-10-03 | |||||
rdfms-reification-required/test001.rdf deleted text: | rdfms-reification-required/test001.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-uri-substructure/test001.rdf deleted text: | rdfms-uri-substructure/test001.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-xmllang/test001.rdf deleted text: | rdfms-xmllang/test001.nt | RDFCore deleted text: WG Telecon 2002-06-07 | |||||
rdfms-xmllang/test002.rdf deleted text: | rdfms-xmllang/test002.nt | RDFCore deleted text: WG Telecon 2002-06-07 | |||||
rdfms-xmllang/test003.rdf deleted text: | rdfms-xmllang/test003.nt | RDFCore deleted text: WG Telecon 2002-06-07 | |||||
rdfms-xmllang/test004.rdf deleted text: | rdfms-xmllang/test004.nt | RDFCore deleted text: WG Telecon 2002-06-07 | |||||
rdfms-xmllang/test005.rdf deleted text: | rdfms-xmllang/test005.nt | RDFCore deleted text: WG Telecon 2002-06-07 | |||||
rdfms-xmllang/test006.rdf deleted text: | rdfms-xmllang/test006.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
unrecognised-xml-attributes/test001.rdf deleted text: | unrecognised-xml-attributes/test001.nt | RDFCore deleted text: WG Telecon 2002-01-18 | |||||
unrecognised-xml-attributes/test002.rdf deleted text: | unrecognised-xml-attributes/test002.nt | RDFCore deleted text: WG Telecon 2002-01-18 | |||||
xml-canon/test001.rdf | xml-canon/test001.nt | RDFCore Telecon 2003-08-08 | |||||
Negative parser tests (test cases: 9) | |||||||
Input file | Approved | ||||||
rdfms-abouteach/error001.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-abouteach/error002.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error001.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error002.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error003.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error004.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error005.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error006.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-rdf-id/error007.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
Positive Entailment tests (test cases: 13) 16) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + DT(xsd:integer) RDFS + DT(xsd:integer, xsd:string) | deleted text: <td colspan="2"> deleted text: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004a.nt"> datatypes/test004a.nt </a> </td><a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004b.nt"> datatypes/test004b.nt datatypes-intensional/test002.nt | deleted text: <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Nov/0611.html"> RDFCore WG Telecon 2002-11-22 </a> deleted text: </td> </tr> <tr> <td colspan="2"> RDF + DT(xsd:integer) </td><a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004b.nt"> datatypes/test004b.nt </a> FALSE | deleted text: <td colspan="2"> deleted text: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004c.nt"> datatypes/test004c.nt </a> </td><a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Nov/0611.html"> RDFCore deleted text: WG Telecon 2002-11-22 2003-09-05 | ||||
RDF + DT(xsd:integer) RDFS | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004c.nt"> datatypes/test004c.nt datatypes/test002.nt | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004a.nt"> datatypes/test004a.nt datatypes/test002.nt | RDFCore deleted text: WG Telecon 2002-11-22 | ||||
RDF + RDFS + DT(xsd:string) | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test002.nt"> datatypes/test002.nt datatypes/test011a.nt | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test002.nt"> datatypes/test002.nt datatypes/test011b.nt | <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Nov/0611.html"> RDFCore deleted text: WG Telecon 2002-11-22 2003-08-29 | ||||
RDF + RDFS + DT(xsd:decimal, xsd:string) | datatypes/test006.nt | FALSE | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + DT(xsd:decimal, xsd:integer) | datatypes/test005a.nt | datatypes/test005b.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + DT(xsd:integer) | datatypes/test003a.nt | datatypes/test003b.nt | RDFCore deleted text: WG Telecon 2002-11-22 | ||||
RDF + DT(xsd:integer) | datatypes/test003b.nt | datatypes/test003a.nt | RDFCore deleted text: WG Telecon 2002-11-22 | ||||
Simple | datatypes/test008a.nt | datatypes/test008b.nt | RDFCore deleted text: WG Telecon 2002-10-11 | ||||
RDF + RDFS + DT(rdf:XMLLiteral) | datatypes/test010.nt | FALSE | RDFCore deleted text: WG Telecon 2002-10-11 | ||||
RDF + RDFS | pfps-10/test001a.nt | pfps-10/test001b.nt | Editorial fix for issue PFPS-10 | ||||
RDF + RDFS | rdfms-seq-representation/empty.nt | rdfms-seq-representation/test002.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + RDFS | rdfms-seq-representation/test003a.nt | rdfms-seq-representation/test003b.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + RDFS | rdfms-seq-representation/empty.nt | rdfms-seq-representation/test004.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF | tex-01/test001.rdf | tex-01/test002.rdf | RDFCore Telecon 2003-07-18 | ||||
RDF | tex-01/test002.rdf | tex-01/test001.rdf | RDFCore Telecon 2003-07-18 | ||||
RDF + RDFS + DT(xsd:int) | xmlsch-02/test001.rdf | xmlsch-02/test003.rdf | RDFCore Telecon 2003-07-18 | ||||
Negative Entailment tests (test cases: 13) 16) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS + DT(rdf:XMLLiteral) DT(xsd:decimal, xsd:integer) | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test007a.nt"> datatypes/test007a.nt datatypes-intensional/test001.nt | deleted text: <td colspan="2"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test007b.nt"> datatypes/test007b.nt </a>FALSE | <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2003Jan/0025.html"> RDFCore deleted text: WG Telecon 2003-01-10 2003-09-05 | ||||
RDF + RDFS + DT(xsd:integer) | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004a.nt"> datatypes/test004a.nt datatypes/test002.nt | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004b.nt"> datatypes/test004b.nt datatypes/test002b.nt | RDFCore deleted text: WG Telecon 2002-11-22 | ||||
RDF + RDFS Simple | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004b.nt"> datatypes/test004b.nt datatypes/test009a.nt | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test004c.nt"> datatypes/test004c.nt datatypes/test009b.nt | <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Nov/0611.html"> RDFCore deleted text: WG Telecon 2002-11-22 2002-10-11 | ||||
RDF + RDFS deleted text: + DT(xsd:integer) | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test002.nt"> datatypes/test002.nt horst-01/test001.rdf | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test002b.nt"> datatypes/test002b.nt horst-01/test002.rdf | <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Nov/0611.html"> RDFCore deleted text: WG Telecon 2002-11-22 2003-07-18 | ||||
Simple RDF + RDFS | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test009a.nt"> datatypes/test009a.nt horst-01/test003.rdf | <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/datatypes/test009b.nt"> datatypes/test009b.nt horst-01/test004.rdf | <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Oct/0131.html"> RDFCore deleted text: WG Telecon 2002-10-11 2003-07-18 | ||||
Simple | rdfms-xmllang/test007a.nt | rdfms-xmllang/test007b.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
Simple | rdfms-xmllang/test007b.nt | rdfms-xmllang/test007c.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
Simple | rdfms-xmllang/test007c.nt | rdfms-xmllang/test007a.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + RDFS | rdfs-container-membership-superProperty/not1P.rdf | rdfs-container-membership-superProperty/not1C.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF | statement-entailment/test001a.nt | statement-entailment/test001b.nt | RDFCore deleted text: WG Telecon 2002-02-15 | ||||
RDF | statement-entailment/test002a.nt | statement-entailment/test002b.nt | RDFCore deleted text: WG Telecon 2002-02-15 | ||||
RDF + RDFS | statement-entailment/test001a.nt | statement-entailment/test001b.nt | RDFCore deleted text: WG Telecon 2002-02-15 | ||||
RDF + RDFS | statement-entailment/test002a.nt | statement-entailment/test002b.nt | RDFCore deleted text: WG Telecon 2002-02-15 | ||||
RDF + RDFS + DT(xsd:int) | xmlsch-02/test001.rdf | xmlsch-02/test002.rdf | RDFCore Telecon 2003-07-18 | ||||
RDF + RDFS + DT(xsd:int) | xmlsch-02/test002.rdf | xmlsch-02/test001.rdf | RDFCore Telecon 2003-07-18 | ||||
RDF + RDFS + DT(xsd:int) | xmlsch-02/test002.rdf | xmlsch-02/test003.rdf | RDFCore Telecon 2003-07-18 | ||||
Miscellaneous tests (test cases: 1) | |||||||
Related documents | Approved | ||||||
rdfms-uri-substructure/error001.nt deleted text: | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
Issue: rdf-charmod-literals has 3 tests | |||||||
Positive parser tests (test cases: 1) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdf-charmod-literals/test001.rdf deleted text: | rdf-charmod-literals/test001.nt | RDFCore deleted text: WG Telecon 2002-04-05 | |||||
Negative parser tests (test cases: 2) | |||||||
Input file | Approved | ||||||
rdf-charmod-literals/error001.rdf | RDFCore deleted text: WG Telecon 2002-04-05 | ||||||
rdf-charmod-literals/error002.rdf | RDFCore deleted text: WG Telecon 2002-04-05 | ||||||
Issue: rdf-charmod-uris has 5 4 tests | |||||||
Positive parser tests (test cases: 2) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdf-charmod-uris/test001.rdf deleted text: | rdf-charmod-uris/test001.nt | RDFCore deleted text: WG Telecon 2002-04-26 | |||||
rdf-charmod-uris/test002.rdf deleted text: | rdf-charmod-uris/test002.nt | deleted text: <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Apr/0474.html"> RDFCore WG Telecon 2002-04-26 </a> deleted text: </td> </tr> <tr> <th colspan="8" class="c2"> Negative parser tests (test cases: 1) </th> </tr> <tr> <th colspan="7"> Input file </th> <th> Approved </th> </tr> <tr> <td colspan="7"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-charmod-uris/error001.rdf"> rdf-charmod-uris/error001.rdf </a> </td> | RDFCore deleted text: WG Telecon 2002-04-26 | ||||
Negative Entailment tests (test cases: 2) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF | rdf-charmod-uris/test001.rdf | rdf-charmod-uris/test002.rdf | RDFCore deleted text: WG Telecon 2002-04-26 | ||||
RDF | rdf-charmod-uris/test002.rdf | rdf-charmod-uris/test001.rdf | RDFCore deleted text: WG Telecon 2002-04-26 | ||||
Issue: rdf-containers-syntax-vs-schema has 9 tests | |||||||
Positive parser tests (test cases: 7) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdf-containers-syntax-vs-schema/test001.rdf deleted text: | rdf-containers-syntax-vs-schema/test001.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
rdf-containers-syntax-vs-schema/test002.rdf deleted text: | rdf-containers-syntax-vs-schema/test002.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
rdf-containers-syntax-vs-schema/test003.rdf deleted text: | rdf-containers-syntax-vs-schema/test003.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
rdf-containers-syntax-vs-schema/test004.rdf deleted text: | rdf-containers-syntax-vs-schema/test004.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
rdf-containers-syntax-vs-schema/test006.rdf deleted text: | rdf-containers-syntax-vs-schema/test006.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
rdf-containers-syntax-vs-schema/test007.rdf deleted text: | rdf-containers-syntax-vs-schema/test007.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
rdf-containers-syntax-vs-schema/test008.rdf deleted text: | rdf-containers-syntax-vs-schema/test008.nt | RDFCore deleted text: WG Telecon 2001-06-29 | |||||
Negative parser tests (test cases: 2) | |||||||
Input file | Approved | ||||||
rdf-containers-syntax-vs-schema/error001.rdf | RDFCore deleted text: WG Telecon 2001-06-29 | ||||||
rdf-containers-syntax-vs-schema/error002.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
Issue: rdf-ns-prefix-confusion has 12 11 tests | |||||||
Positive parser tests (test cases: 12) 11) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdf-ns-prefix-confusion/test0001.rdf deleted text: | rdf-ns-prefix-confusion/test0001.nt | deleted text: <td> </td> <td> <a href="http://www.w3.org/2000/11/mr76/rdfc25May.html"> RDFCore WG Telecon 2001-05-25 </a> </td> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-ns-prefix-confusion/test0002.rdf"> rdf-ns-prefix-confusion/test0002.rdf </a> deleted text: </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdf-ns-prefix-confusion/test0002.nt"> rdf-ns-prefix-confusion/test0002.nt </a> </td>RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0003.rdf deleted text: | rdf-ns-prefix-confusion/test0003.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0004.rdf deleted text: | rdf-ns-prefix-confusion/test0004.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0005.rdf deleted text: | rdf-ns-prefix-confusion/test0005.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0006.rdf deleted text: | rdf-ns-prefix-confusion/test0006.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0009.rdf deleted text: | rdf-ns-prefix-confusion/test0009.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0010.rdf deleted text: | rdf-ns-prefix-confusion/test0010.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0011.rdf deleted text: | rdf-ns-prefix-confusion/test0011.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0012.rdf deleted text: | rdf-ns-prefix-confusion/test0012.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0013.rdf deleted text: | rdf-ns-prefix-confusion/test0013.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdf-ns-prefix-confusion/test0014.rdf deleted text: | rdf-ns-prefix-confusion/test0014.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
Issue: rdfms-difference-between-ID-and-about has 4 tests | |||||||
Positive parser tests (test cases: 3) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-difference-between-ID-and-about/test1.rdf deleted text: | rdfms-difference-between-ID-and-about/test1.nt | RDFCore deleted text: WG Telecon 2001-12-14 | |||||
rdfms-difference-between-ID-and-about/test2.rdf deleted text: | rdfms-difference-between-ID-and-about/test2.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-difference-between-ID-and-about/test3.rdf deleted text: | rdfms-difference-between-ID-and-about/test3.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
Negative parser tests (test cases: 1) | |||||||
Input file | Approved | ||||||
rdfms-difference-between-ID-and-about/error1.rdf | RDFCore deleted text: WG Telecon 2001-12-14 | ||||||
Issue: rdfms-duplicate-member-props has 1 tests | |||||||
Positive parser tests (test cases: 1) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-duplicate-member-props/test001.rdf deleted text: | rdfms-duplicate-member-props/test001.nt | RDFCore deleted text: WG Telecon 2002-05-03 | |||||
Issue: rdfms-empty-property-elements has 20 tests | |||||||
Positive parser tests (test cases: 17) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-empty-property-elements/test001.rdf deleted text: | rdfms-empty-property-elements/test001.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test002.rdf deleted text: | rdfms-empty-property-elements/test002.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test003.rdf deleted text: | rdfms-empty-property-elements/test003.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test004.rdf deleted text: | rdfms-empty-property-elements/test004.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test005.rdf deleted text: | rdfms-empty-property-elements/test005.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test006.rdf deleted text: | rdfms-empty-property-elements/test006.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test007.rdf deleted text: | rdfms-empty-property-elements/test007.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test008.rdf deleted text: | rdfms-empty-property-elements/test008.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test009.rdf deleted text: | rdfms-empty-property-elements/test009.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test010.rdf deleted text: | rdfms-empty-property-elements/test010.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test011.rdf deleted text: | rdfms-empty-property-elements/test011.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test012.rdf deleted text: | rdfms-empty-property-elements/test012.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test013.rdf deleted text: | rdfms-empty-property-elements/test013.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test014.rdf deleted text: | rdfms-empty-property-elements/test014.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test015.rdf deleted text: | rdfms-empty-property-elements/test015.nt | RDFCore deleted text: WG Telecon 2001-05-25 | |||||
rdfms-empty-property-elements/test016.rdf deleted text: | rdfms-empty-property-elements/test016.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-empty-property-elements/test017.rdf deleted text: | rdfms-empty-property-elements/test017.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
Negative parser tests (test cases: 3) | |||||||
Input file | Approved | ||||||
rdfms-empty-property-elements/error001.rdf | RDFCore deleted text: WG Telecon 2001-05-25 | ||||||
rdfms-empty-property-elements/error002.rdf | RDFCore deleted text: WG Telecon 2001-05-25 | ||||||
rdfms-empty-property-elements/error003.rdf | RDFCore deleted text: WG Telecon 2001-05-25 | ||||||
Issue: rdfms-identity-anon-resources has 5 tests | |||||||
Positive parser tests (test cases: 5) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-identity-anon-resources/test001.rdf deleted text: | rdfms-identity-anon-resources/test001.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
rdfms-identity-anon-resources/test002.rdf deleted text: | rdfms-identity-anon-resources/test002.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
rdfms-identity-anon-resources/test003.rdf deleted text: | rdfms-identity-anon-resources/test003.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
rdfms-identity-anon-resources/test004.rdf deleted text: | rdfms-identity-anon-resources/test004.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
rdfms-identity-anon-resources/test005.rdf deleted text: | rdfms-identity-anon-resources/test005.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
Issue: <a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-nested-bagIDs"> rdfms-nested-bagIDs rdfms-not-id-and-resource-attr has 15 4 tests | |||||||
Positive parser tests (test cases: 14) 4) | |||||||
Input files | Output file | Warning? | Approved | deleted text: </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.rdf"> rdfms-nested-bagIDs/test001.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test001.nt"> rdfms-nested-bagIDs/test001.nt </a> </td> <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td>||||
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test002.nt"> rdfms-nested-bagIDs/test002.nt rdfms-not-id-and-resource-attr/test001.rdf deleted text: </td> <td> | deleted text: <td> deleted text: <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> </td> </tr> <tr><a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test003.rdf"> rdfms-nested-bagIDs/test003.rdf rdfms-not-id-and-resource-attr/test001.nt | deleted text: <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test003.nt"> rdfms-nested-bagIDs/test003.nt </a> deleted text: </td>deleted text: <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test004.rdf"> rdfms-nested-bagIDs/test004.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test004.nt"> rdfms-nested-bagIDs/test004.nt </a> </td> <td> </td> | RDFCore deleted text: WG Telecon 2002-03-15 | deleted text: </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test005.rdf"> rdfms-nested-bagIDs/test005.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test005.nt"> rdfms-nested-bagIDs/test005.nt </a> </td> <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td>||||
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test006.nt"> rdfms-nested-bagIDs/test006.nt rdfms-not-id-and-resource-attr/test002.rdf deleted text: </td> <td> | deleted text: <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td> </tr> <tr><a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test008.rdf"> rdfms-nested-bagIDs/test008.rdf rdfms-not-id-and-resource-attr/test002.nt | deleted text: <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test008.nt"> rdfms-nested-bagIDs/test008.nt </a> deleted text: </td>deleted text: <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test009.rdf"> rdfms-nested-bagIDs/test009.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test009.nt"> rdfms-nested-bagIDs/test009.nt </a> </td> <td> </td> | RDFCore deleted text: WG Telecon 2002-03-15 | deleted text: </tr> <tr> <td colspan="8"> Note: of the following six tests, only three can be expected to pass. See the test descriptions in the <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/Manifest.rdf"> manifest </a> for details. </td> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test010.rdf"> rdfms-nested-bagIDs/test010.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test010a.nt"> rdfms-nested-bagIDs/test010a.nt </a> </td> <td> </td> <td> deleted text: <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> </td>||||
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test010b.nt"> rdfms-nested-bagIDs/test010b.nt rdfms-not-id-and-resource-attr/test004.rdf deleted text: | deleted text: <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td> </tr> <tr><a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test011.rdf"> rdfms-nested-bagIDs/test011.rdf rdfms-not-id-and-resource-attr/test004.nt | deleted text: <td colspan="3"> deleted text: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test011a.nt"> rdfms-nested-bagIDs/test011a.nt </a> </td>deleted text: <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> </td> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test011.rdf"> rdfms-nested-bagIDs/test011.rdf </a> </td> <td colspan="3"> deleted text: <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test011b.nt"> rdfms-nested-bagIDs/test011b.nt </a> </td> <td> </td> | RDFCore deleted text: WG Telecon 2002-03-15 | deleted text: </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test012.rdf"> rdfms-nested-bagIDs/test012.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test012a.nt"> rdfms-nested-bagIDs/test012a.nt </a> </td> <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td>||||
<a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test012b.nt"> rdfms-nested-bagIDs/test012b.nt </a> </td> <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> </td> </tr> <tr> <th colspan="8" class="c2"> Negative parser tests (test cases: 1) </th> </tr> <tr> <th colspan="7"> Input file </th> <th> Approved </th> </tr> <tr> <td colspan="7"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-nested-bagIDs/test007.rdf"> rdfms-nested-bagIDs/test007.rdf </a> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2003Jan/0025.html"> RDFCore WG Telecon 2003-01-10 </a> </td> </tr> <tr> <th colspan="8" class="c1"> <a id="rdfms-not-id-and-resource-attr" name="rdfms-not-id-and-resource-attr"> Issue: </a> <a href="http://www.w3.org/2000/03/rdf-tracking/#rdfms-not-id-and-resource-attr"> rdfms-not-id-and-resource-attr </a> has 5 tests </th> </tr> <tr> <th colspan="8" class="c2"> Positive parser tests (test cases: 5) </th> </tr> <tr> <th colspan="3"> Input files </th> <th colspan="3"> Output file </th> <th> Warning? </th> <th> Approved </th> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test001.rdf"> rdfms-not-id-and-resource-attr/test001.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test001.nt"> rdfms-not-id-and-resource-attr/test001.nt rdfms-not-id-and-resource-attr/test005.rdf deleted text: </td> <td> | deleted text: <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td> </tr> <tr><a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test002.rdf"> rdfms-not-id-and-resource-attr/test002.rdf rdfms-not-id-and-resource-attr/test005.nt | deleted text: <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test002.nt"> rdfms-not-id-and-resource-attr/test002.nt </a> deleted text: </td>deleted text: <td> deleted text: <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> </td> </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test003.rdf"> rdfms-not-id-and-resource-attr/test003.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test003.nt"> rdfms-not-id-and-resource-attr/test003.nt </a> </td> <td> </td> | RDFCore deleted text: WG Telecon 2002-03-15 | deleted text: </tr> <tr> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test004.rdf"> rdfms-not-id-and-resource-attr/test004.rdf </a> </td> <td colspan="3"> <a href="http://www.w3.org/2000/10/rdf-tests/rdfcore/rdfms-not-id-and-resource-attr/test004.nt"> rdfms-not-id-and-resource-attr/test004.nt </a> </td> <td> </td> <td> <a href="http://lists.w3.org/Archives/Public/w3c-rdfcore-wg/2002Mar/0235.html"> RDFCore WG Telecon 2002-03-15 </a> deleted text: </td>||||
<a id="rdfms-para196" name="rdfms-para196"> Issue: rdfms-para196 has 1 tests | |||||||
Positive parser tests (test cases: 1) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-para196/test001.rdf deleted text: | rdfms-para196/test001.nt | RDFCore deleted text: WG Telecon 2002-01-11 | |||||
Issue: rdfms-rdf-names-use has 60 tests | |||||||
Positive parser tests (test cases: 40) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-rdf-names-use/test-001.rdf deleted text: | rdfms-rdf-names-use/test-001.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-002.rdf deleted text: | rdfms-rdf-names-use/test-002.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-003.rdf deleted text: | rdfms-rdf-names-use/test-003.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-004.rdf deleted text: | rdfms-rdf-names-use/test-004.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-005.rdf deleted text: | rdfms-rdf-names-use/test-005.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-006.rdf deleted text: | rdfms-rdf-names-use/test-006.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-007.rdf deleted text: | rdfms-rdf-names-use/test-007.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-008.rdf deleted text: | rdfms-rdf-names-use/test-008.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-009.rdf deleted text: | rdfms-rdf-names-use/test-009.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-010.rdf deleted text: | rdfms-rdf-names-use/test-010.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-011.rdf deleted text: | rdfms-rdf-names-use/test-011.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-012.rdf deleted text: | rdfms-rdf-names-use/test-012.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-013.rdf deleted text: | rdfms-rdf-names-use/test-013.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-014.rdf deleted text: | rdfms-rdf-names-use/test-014.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-015.rdf deleted text: | rdfms-rdf-names-use/test-015.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-016.rdf deleted text: | rdfms-rdf-names-use/test-016.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-017.rdf deleted text: | rdfms-rdf-names-use/test-017.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-018.rdf deleted text: | rdfms-rdf-names-use/test-018.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-019.rdf deleted text: | rdfms-rdf-names-use/test-019.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-020.rdf deleted text: | rdfms-rdf-names-use/test-020.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-021.rdf deleted text: | rdfms-rdf-names-use/test-021.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-022.rdf deleted text: | rdfms-rdf-names-use/test-022.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-023.rdf deleted text: | rdfms-rdf-names-use/test-023.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-024.rdf deleted text: | rdfms-rdf-names-use/test-024.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-025.rdf deleted text: | rdfms-rdf-names-use/test-025.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-026.rdf deleted text: | rdfms-rdf-names-use/test-026.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-027.rdf deleted text: | rdfms-rdf-names-use/test-027.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-028.rdf deleted text: | rdfms-rdf-names-use/test-028.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-029.rdf deleted text: | rdfms-rdf-names-use/test-029.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-030.rdf deleted text: | rdfms-rdf-names-use/test-030.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-031.rdf deleted text: | rdfms-rdf-names-use/test-031.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-032.rdf deleted text: | rdfms-rdf-names-use/test-032.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-033.rdf deleted text: | rdfms-rdf-names-use/test-033.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-034.rdf deleted text: | rdfms-rdf-names-use/test-034.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-035.rdf deleted text: | rdfms-rdf-names-use/test-035.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-036.rdf deleted text: | rdfms-rdf-names-use/test-036.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/test-037.rdf deleted text: | rdfms-rdf-names-use/test-037.nt | RDFCore deleted text: WG Telecon 2001-11-30 | |||||
rdfms-rdf-names-use/warn-001.rdf deleted text: | rdfms-rdf-names-use/warn-001.nt | allowed with warnings | RDFCore deleted text: WG Telecon 2001-11-30 | ||||
rdfms-rdf-names-use/warn-002.rdf deleted text: | rdfms-rdf-names-use/warn-002.nt | allowed with warnings | RDFCore deleted text: WG Telecon 2001-11-30 | ||||
rdfms-rdf-names-use/warn-003.rdf deleted text: | rdfms-rdf-names-use/warn-003.nt | allowed with warnings | RDFCore deleted text: WG Telecon 2001-11-30 | ||||
Negative parser tests (test cases: 20) | |||||||
Input file | Approved | ||||||
rdfms-rdf-names-use/error-001.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-002.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-003.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-004.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-005.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-006.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-007.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-008.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-009.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-010.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-011.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-012.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-013.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-014.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-015.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-016.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-017.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-018.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-019.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
rdfms-rdf-names-use/error-020.rdf | RDFCore deleted text: WG Telecon 2001-11-30 | ||||||
Issue: rdfms-seq-representation has 1 tests | |||||||
Positive parser tests (test cases: 1) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-seq-representation/test001.rdf deleted text: | rdfms-seq-representation/test001.nt | RDFCore deleted text: WG Telecon 2002-05-31 | |||||
Issue: rdfms-syntax-incomplete has 10 tests | |||||||
Positive parser tests (test cases: 4) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-syntax-incomplete/test001.rdf deleted text: | rdfms-syntax-incomplete/test001.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-syntax-incomplete/test002.rdf deleted text: | rdfms-syntax-incomplete/test002.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-syntax-incomplete/test003.rdf deleted text: | rdfms-syntax-incomplete/test003.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-syntax-incomplete/test004.rdf deleted text: | rdfms-syntax-incomplete/test004.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
Negative parser tests (test cases: 6) | |||||||
Input file | Approved | ||||||
rdfms-syntax-incomplete/error001.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-syntax-incomplete/error002.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-syntax-incomplete/error003.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-syntax-incomplete/error004.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-syntax-incomplete/error005.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
rdfms-syntax-incomplete/error006.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||||
Issue: rdfms-xml-base has 13 tests | |||||||
Positive parser tests (test cases: 13) | |||||||
Input files | Output file | Warning? | Approved | ||||
xmlbase/test001.rdf deleted text: | xmlbase/test001.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test002.rdf deleted text: | xmlbase/test002.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test003.rdf deleted text: | xmlbase/test003.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test004.rdf deleted text: | xmlbase/test004.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test006.rdf deleted text: | xmlbase/test006.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test007.rdf deleted text: | xmlbase/test007.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test008.rdf deleted text: | xmlbase/test008.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test009.rdf deleted text: | xmlbase/test009.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test010.rdf deleted text: | xmlbase/test010.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test011.rdf deleted text: | xmlbase/test011.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test012.rdf deleted text: | xmlbase/test012.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test013.rdf deleted text: | xmlbase/test013.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
xmlbase/test014.rdf deleted text: | xmlbase/test014.nt | RDFCore deleted text: WG Telecon 2002-03-15 | |||||
Issue: rdfms-xml-literal-namespaces has 2 tests | |||||||
Positive parser tests (test cases: 2) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfms-xml-literal-namespaces/test001.rdf deleted text: | rdfms-xml-literal-namespaces/test001.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
rdfms-xml-literal-namespaces/test002.rdf deleted text: | rdfms-xml-literal-namespaces/test002.nt | RDFCore deleted text: WG Telecon 2003-01-10 | |||||
Issue: rdfs-domain-and-range has 4 tests | |||||||
Positive parser tests (test cases: 2) | |||||||
Input files | Output file | Warning? | Approved | ||||
rdfs-domain-and-range/test001.rdf deleted text: | rdfs-domain-and-range/test001.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
rdfs-domain-and-range/test002.rdf deleted text: | rdfs-domain-and-range/test002.nt | RDFCore deleted text: WG Telecon 2001-10-19 | |||||
Negative Entailment tests (test cases: 2) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS | rdfs-domain-and-range/premises006.rdf | rdfs-domain-and-range/nonconclusions006.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + RDFS | rdfs-domain-and-range/premises005.rdf | rdfs-domain-and-range/nonconclusions005.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
Issue: rdfs-no-cycles-in-subClassOf has 1 tests | |||||||
Positive Entailment tests (test cases: 1) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS | rdfs-no-cycles-in-subClassOf/test001.rdf | rdfs-no-cycles-in-subClassOf/test001.nt | RDFCore deleted text: WG Telecon 2001-10-12 | ||||
Issue: rdfs-no-cycles-in-subPropertyOf has 1 tests | |||||||
Positive Entailment tests (test cases: 1) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS | rdfs-no-cycles-in-subPropertyOf/test001.rdf | rdfs-no-cycles-in-subPropertyOf/test001.nt | RDFCore deleted text: WG Telecon 2001-10-12 | ||||
Issue: rdfs-subClassOf-a-Property has 1 tests | |||||||
Negative Entailment tests (test cases: 1) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS | rdfs-subClassOf-a-Property/test001.nt | FALSE | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
Issue: rdfs-subPropertyOf-semantics has 1 tests | |||||||
Positive Entailment tests (test cases: 1) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS | rdfs-subPropertyOf-semantics/test001.nt | rdfs-subPropertyOf-semantics/test002.nt | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
Issue: I5.24-IF-or-IFF-property-properties has 2 tests | |||||||
Negative Entailment tests (test cases: 2) | |||||||
Rules | Premise files | Conclusion file | Warning? | Approved | |||
RDF + RDFS | rdfs-domain-and-range/premises006.rdf | rdfs-domain-and-range/nonconclusions006.rdf | RDFCore deleted text: WG Telecon 2003-01-10 | ||||
RDF + RDFS | rdfs-domain-and-range/premises005.rdf | rdfs-domain-and-range/nonconclusions005.rdf | RDFCore deleted text: WG Telecon 2003-01-10 |
The test case repository contains test cases that have not been approved. Such test cases are not enumerated in this document but a list of them is available at http://www.w3.org/2000/10/rdf-tests/rdfcore/allTestCases.html .
The test case manifest format was deliberately chosen to be a simple, declarative description of the test cases. Parser tests can be run in conjunction with simple tools such as ntc[ NTC ]. A parser should pass all the positive parser tests, and reject all the negative parser tests. Tools like deleted text: <a href="http://www.agfa.com/w3c/euler/"> Euler [ EULER ] have been used to run the entailment tests.
Due to the rules of entailment tests, a positive or negative entailment test case with an empty conclusion document can be used to illustrate semantic constraints associated with sets of entailment rules.
The test cases have been created to illustrate the resolution of particular issues on the RDF Issue Tracking list. Consequently, test case results should always be interpreted in conjunction with the resolution of the associated issue and the description (if any) attached to the test case in the manifest.
N-Triples is a line-based, plain text format for encoding an RDF graph. It was designed to be a fixed subset of N3[ N3 ] [ N3-Primer ] and hence N3 tools such as deleted text: <a href="http://www.w3.org/2000/10/swap/cwm.py"> cwm </a>, <a href="http://www.w3.org/2000/10/swap/n-triples2kif.pl"> n-triples2kif.pl [ CWM ], n-triples2kif [ N-TRIPLES2KIF ], and deleted text: <a href="http://www.agfa.com/w3c/euler/"> Euler [ EULER ] can be used to read and process it. cwm can output this format when invoked as "cwm -ntriples".
It is recommended, but not required, that N-Triples content is stored in files with an '.nt' suffix to distinguish them from N3.
The Internet Media Type media type / MIME Type type of N-Triples is text/plain and the character encoding is 7-bit US-ASCII.
NOTE : N-Triples is an RDF syntax deleted text: intended for expressing RDF Core WG testing purposes test cases and defining the correspondence between RDF/XML and deleted text: checking RDF applications for conformance with the deleted text: specifications. The recommended RDF exchange syntax is abstract syntax. RDF/XML deleted text: as defined in [ RDF-SYNTAX ]. ] is the recommended syntax for applications to exchange RDF information.
An N-Triples document is a sequence of US-ASCII characters and is defined by the ntripleDoc grammar term below. Parsing it results in a sequence of RDF statements triples formed from the subject , predicate and object terms. The meaning of these terms are defined in the [ <cite> <a href="#bib_rdfmt"> RDF-SEMANTICS </a> </cite> ] being developed as part of the <a href="http://www.w3.org/2001/sw/RDFCore/"> RDF Core WG </a> activity. productions.
This EBNF is the notation used in XML 1.0 second edition
ntripleDoc | ::= | line * | |
line | ::= | ws * ( comment | triple )? eoln | |
comment | ::= | '#' ( character - ( cr | lf ) )* | |
triple | ::= | subject ws + predicate ws + object ws * '.' ws * | |
subject | ::= | uriref | nodeID | |
predicate | ::= | uriref | |
object | ::= | uriref | nodeID | literal | |
uriref | ::= | '<' absoluteURI '>' | |
nodeID | ::= | '_:' name | |
literal | ::= | langString | datatypeString | |
langString | ::= | '"' string '"' ( '@' language )? | |
datatypeString | ::= | <a href="#langString"> langString string '^^' uriref | |
language | ::= |
[a-z0-9]+
[a-z]+
('-'
[a-z0-9]+
)?
)*
matching the production Language-Tag in Section 2.1 of [ <cite> <a href="#ref_rfc3066"> RFC 3066 </a> </cite> ]. Note: This EBNF cannot perform the counting required by the Primary-subtag and Subtag productions. encoding a language tag . |
|
ws | ::= | space | tab | |
eoln | ::= | cr | lf | cr lf | |
space | ::= | #x20 /* US-ASCII space - decimal 32 */ | |
cr | ::= | #xD /* US-ASCII carriage return - decimal 13 */ | |
lf | ::= | #xA /* US-ASCII line feed - decimal 10 */ | |
tab | ::= | #x9 /* US-ASCII horizontal tab - decimal 9 */ | |
string | ::= | character * with escapes as defined in section Strings | |
name | ::= | [A-Za-z][A-Za-z0-9]* | |
absoluteURI | ::= | character + with escapes as defined in section URI References | |
character | ::= | [#x20-#x7E] /* US-ASCII space to decimal 126 */ |
These productions encode concepts defined in the RDF Concepts and Abstract Syntax [ RDF-CONCEPTS ] working draft as follows:
N-Triples production | RDF Concept encoded |
---|---|
triple | triple |
subject | subject |
predicate | predicate |
object | object |
absoluteURI | RDF URI reference |
nodeID | Identifier for a blank node |
langString | plain literal |
datatypeString | typed literal |
N-Triples strings are sequences of US-ASCII character productions encoding [ UNICODE ] character strings . The characters outside the US-ASCII range and some other specific characters are made available by \-escape sequences as follows:
Escape
Unicode
character
sequence (with code point u ) |
Encodes Unicode character N-Triples encoding |
---|---|
\\ [#x0-#x8] |
Backslash
\u
HHHH
4 required hexadecimal digits HHHH encoding Unicode character (decimal 92, #X5C) u |
\" #x9 | Double quote (decimal 34, #x22) \t |
#xA | \n |
Line feed (decimal 10, #xA) - <a href="#lf"> lf </a> [#xB-#xC] |
\u
HHHH
4 required hexadecimal digits HHHH encoding Unicode character u |
#xD | \r |
Carriage return (decimal 13, #xD) - <a href="#cr"> cr </a> [#xE-#x1F] |
\u
HHHH
4 required hexadecimal digits HHHH encoding Unicode character u |
\t [#x20-#x21] | Horizontal tab (decimal 9, #x9) - <a href="#tab"> tab </a> the character u |
\u #x22 | \" |
[#x23-#x5B] | the character HHHH u |
#x5C | \\ |
[#x5D-#x7E] | the character u |
[#x7F-#xFFFF] |
\u
HHHH
4 required hexadecimal digits HHHH encoding Unicode character <br /> [#x0-#x8],[#xB-#xC],[#xE-#x1F],[#x7F-#xFFFF] u |
[#10000-#x10FFFF] |
\U
HHHHHHHH
</td>
<td>
8 required hexadecimal digits HHHHHHHH encoding Unicode character <br /> [#x10000-#x10FFFF] u |
where H is a hexadecimal digit: [#x30-#x39],[#x41-#x46] (0-9, uppercase A-F).
This escaping satisfies the [ CHARMOD ] section <a href="http://www.w3.org/TR/charmod/#sec-RefProcModel"> Reference Processing Model on making the full Unicode character range U+0 to U+10FFFF available to applications and providing only one way to escape any character.
URI references are sequences of US-ASCII character productions as defined in [ <cite> <a href="#ref_rfc2396"> RFC 2396 The absoluteURI </cite> ] for production encodes a Unicode string representing an RDF URI character sequence. Where the original URI Reference contains characters not allowed in such a sequence, the standard escaping procedure described references as specified in [ <a href="#ref_rfc2396"> RFC 2396 RDF-CONCEPTS ] using UTF-8 as the character encoding is applied, using UTF-8 as the character encoding. </p> <p> Disallowed characters ]. These are deleted text: represented in UTF-8 and then encoded in N-Triples using the deleted text: %HH format, where HH is the byte value expressed using hexadecimal notation. </p> <p> Characters above the US-ASCII range are made available by the \u or \U escapes deleted text: as described in section Strings </a> for ranges [#x80-#xFFFF] and [#x10000-#x10FFFF] respectively. </p> <p> Characters [#x0-#x1F] and #x7F are forbidden in URI references. .
The following N-Triples file:
<http://www.w3.org/2001/08/rdf-test/> <http://purl.org/dc/elements/1.1/creator> "Dave Beckett" . <http://www.w3.org/2001/08/rdf-test/> <http://purl.org/dc/elements/1.1/creator> "Jan Grant" . <http://www.w3.org/2001/08/rdf-test/> <http://purl.org/dc/elements/1.1/publisher> _:a . _:a <http://purl.org/dc/elements/1.1/title> "World Wide Web Consortium" . _:a <http://purl.org/dc/elements/1.1/source> <http://www.w3.org/> .
represents the same RDF graph as the following RDF/XML:
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/"> <rdf:Description rdf:about="http://www.w3.org/2001/08/rdf-test/"> <dc:creator>Jan Grant</dc:creator> <dc:creator>Dave Beckett</dc:creator> <dc:publisher> <rdf:Description> <dc:title>World Wide Web Consortium</dc:title> <dc:source rdf:resource="http://www.w3.org/"/> </rdf:Description> </dc:publisher> </rdf:Description> </rdf:RDF>
The N-Triple test file at http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt contains multiple tests of legal N-Triples.
Many thanks to Art Barstow (ex-W3C), former main editor of this document, for his sterling work on editing and managing the RDF test cases, which he had been doing well before the RDF Core WG started.
The editors would also like to thank Jos DeRoo, of AGFA, for his excellent work in the implementation of an RDF reasoner capable of running the entailment test cases.
Thanks are also due to the RDF parser implementers who took the time to run, and submit corrections to, our parser tests.
The following Working Group members have directly contributed to this document and/or contributed test cases.
This document is a product of extended deliberations by the RDF Core working group, Working Group, whose members have included: Art Barstow (W3C) Dave Beckett (ILRT), Dan Brickley (W3C/ILRT), Dan Connolly (W3C), Jeremy Carroll (Hewlett Packard), Ron Daniel (Interwoven Inc), Bill dehOra (InterX), Jos De Roo (AGFA), Jan Grant (ILRT), Graham Klyne (Clearswift and Nine by Nine), Frank Manola (MITRE Corporation), Brian McBride (Hewlett Packard), Eric Miller (W3C), Stephen Petschulat (IBM), Patrick Stickler (Nokia), Aaron Swartz (HWG), Mike Dean (BBN Technologies / Verizon), R. V. Guha (Alpiri Inc), Pat Hayes (IHMC), Sergey Melnik (Stanford University), Martyn Horner (Profium Ltd).
This specification also draws upon an earlier RDF Model and Syntax document edited by Ora Lassilla and Ralph Swick, and RDF Schema edited by Dan Brickley and R. V. Guha. RDF and RDF Schema Working group members who contributed to this earlier work are: Nick Arnett (Verity), Tim Berners-Lee (W3C), Tim Bray (Textuality), Dan Brickley (ILRT / University of Bristol), Walter Chang (Adobe), Sailesh Chutani (Oracle), Dan Connolly (W3C), Ron Daniel (DATAFUSION), Charles Frankston (Microsoft), Patrick Gannon (CommerceNet), RV Guha (Epinions, previously of Netscape Communications), Tom Hill (Apple Computer), Arthur van Hoff (Marimba), Renato Iannella (DSTC), Sandeep Jain (Oracle), Kevin Jones, (InterMind), Emiko Kezuka (Digital Vision Laboratories), Joe Lapp (webMethods Inc.), Ora Lassila (Nokia Research Center), Andrew Layman (Microsoft), Ralph LeVan (OCLC), John McCarthy (Lawrence Berkeley National Laboratory), Chris McConnell (Microsoft), Murray Maloney (Grif), Michael Mealling (Network Solutions), Norbert Mikula (DataChannel), Eric Miller (OCLC), Jim Miller (W3C, emeritus), Frank Olken (Lawrence Berkeley National Laboratory), Jean Paoli (Microsoft), Sri Raghavan (Digital/Compaq), Lisa Rein (webMethods Inc.), Paul Resnick (University of Michigan), Bill Roberts (KnowledgeCite), Tsuyoshi Sakata (Digital Vision Laboratories), Bob Schloss (IBM), Leon Shklar (Pencom Web Works), David Singer (IBM), Wei (William) Song (SISU), Neel Sundaresan (IBM), Ralph Swick (W3C), Naohiko Uramoto (IBM), Charles Wicksteed (Reuters Ltd.), Misha Wolf (Reuters Ltd.), Lauren Wood (SoftQuad).
Reworded the pass and failure criteria for negative entailment tests according to suggested wording from Pat Hayes.
Added test case for RDF/XML without an enclosing rdf:RDF element (rdf-element-not-mandatory/test001).
Removed N-Triples reference to language tags and RFC3066, use the RDF concepts definition. A language tag cannot start with a digit.
Added test cases for intensional interpretation of datatypes.
Added test case: plain literals and xsd:string denotations overlap.
Editorial change. The caption on the test case table now makes it clear that it refers only to the resolution of relative URLs within the table .
Editorial change. Updated section 3. N-Triples NOTE on the purpose of N-Triples to say it is used to map abstract RDF syntax and RDF/XML.
Terminological change. Updated section 2.1. Organization To use the more acceptable term, "graph equivalence".
Substantive change. Updated section 2.1. Organization to include fourth condition for datatype support when describing datatype entailment tests.
Editorial change. Updated references throughout to remove URLs from prose; additional changes as suggested by Susan Lesch .
Editorial change. Updated section 3.1. Extended Backus-Naur Form (EBNF) Grammar to add a new table showing how the N-Triples productions encode the respective RDF concepts from [ RDF-CONCEPTS ].
Editorial change. Updated section 3.3 URI References to say less about URI detail and defer to [ RDF-CONCEPTS ]. Removed reference to RFC2396 (URIs). Made after comment by Duerst , 2003-05-08 as outlined . Also addresses comment by Patel-Schneider , 2003-05-30.
Editorial change. Updated section 3.2 Strings and the N-Triples escape sequence table to list the encodings from Unicode character to N-Triples. Made after comment by Patel-Schneider , 2003-05-27 as outlined .
Substantive change. Updated datatypeString to use string rather than langString after removal of language tag from all typed literals as approved in RDF Core telcon 2003-05-09.
Entailment test definitions changed to actually test proper entailments, not pseudo-entailments.
Support for datatype-aware entailment tests in the manifest.
Pointer to RDF-CONCEPTS for the definition of graph isomorphism / equality.
Addition of the always false pseudo-document for entailment tests.
Updated the test case list in this document.
Test case names changed to fragment references into individual manifest documents.
Production language . Changed to match RFC 3066. Added [ <cite> <a href="#ref_rfc3066"> RFC 2396 </a> </cite> ] [RFC 2396] to normative references.
3 N-Triples NOTE reworded. Point to RDF/XML as exchange syntax.
Production character : should be "to 126"
3.2 Strings Removed suggestion to use UTF-8 for apps.
Added 3.5. N-Triples Tests pointing at the http://www.w3.org/2000/10/rdf-tests/rdfcore/ntriples/test.nt test file.
Use uppercase hexadecimal digits. Define H and use it for \uHHHH, \uHHHHHHHH.
Removed xmlString.
Changed the N-Triples language separator token to @ in langString
Added RDF datatyping support using datatypeString using the form ^^<datatypeURI>
Updated 3.3 URI References to allow Unicode characters in URIs
Merged Future Work into Open Issues
Test case list expanded and reorganized to reflect additional approved test cases
New section 2 describing organization of parser tests, the types of tests and examples of manifest format that describes them.
Updated editors, added thanks to Art Barstow.
Changed literal to be langString | xmlString (now gone)
N-Triples remains an ASCII format for now - closed issue on UTF-8 encoding.
Update references to RDF Model Theory, Syntax WDs
Changed the Approved Test Cases table so that it includes links to related files and the Working Group decision.
Removed the Test Cases Not Approved table and added a link to the repository's list of the not approved test cases.
Added links to ZIP files of the repository's test cases.
Specify the Future Work and Contributors sections as Informative.
Renamed token bNode to nodeID.
Added RDF Model Theory reference.
Added URI Encoding section, pointing at Charmod rules and updated absoluteURI grammar rule to use it.
Removed references to Python literals, reason for \-escaping.
Added 4, 8 required digits for \u, \U string escapes.
Renamed section URIs to URI References.