Browse Source
Support UTF-8 in blank node names. Support idiotic SPARQL escaping in local names. git-svn-id: http://svn.drobilla.net/serd/trunk@452 490d8e77-9747-427b-9fa3-0b8f29cee8a0zrythm_meson

528 changed files with 1050 additions and 456 deletions
@ -0,0 +1,117 @@
@@ -0,0 +1,117 @@
|
||||
Summary |
||||
======= |
||||
|
||||
Distributed under both the W3C Test Suite License[1] and the W3C 3-clause BSD |
||||
License[2]. To contribute to a W3C Test Suite, see the policies and contribution |
||||
forms [3] |
||||
|
||||
1. http://www.w3.org/Consortium/Legal/2008/04-testsuite-license |
||||
2. http://www.w3.org/Consortium/Legal/2008/03-bsd-license |
||||
3. http://www.w3.org/2004/10/27-testcases |
||||
|
||||
DISCLAIMER |
||||
|
||||
UNDER BOTH MUTUALLY EXCLUSIVE LICENSES, THIS DOCUMENT AND ALL DOCUMENTS, TESTS |
||||
AND SOFTWARE THAT LINK THIS STATEMENT ARE PROVIDED "AS IS," AND COPYRIGHT |
||||
HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING, |
||||
BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR |
||||
PURPOSE, NON-INFRINGEMENT, OR TITLE; THAT THE CONTENTS OF THE DOCUMENT ARE |
||||
SUITABLE FOR ANY PURPOSE; NOR THAT THE IMPLEMENTATION OF SUCH CONTENTS WILL NOT |
||||
INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. |
||||
COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR |
||||
CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE DOCUMENT OR THE PERFORMANCE |
||||
OR IMPLEMENTATION OF THE CONTENTS THEREOF. |
||||
|
||||
|
||||
W3C Test Suite License |
||||
====================== |
||||
|
||||
This document, Test Suites and other documents that link to this statement are |
||||
provided by the copyright holders under the following license: By using and/or |
||||
copying this document, or the W3C document from which this statement is linked, |
||||
you (the licensee) agree that you have read, understood, and will comply with |
||||
the following terms and conditions: |
||||
|
||||
Permission to copy, and distribute the contents of this document, or the W3C |
||||
document from which this statement is linked, in any medium for any purpose and |
||||
without fee or royalty is hereby granted, provided that you include the |
||||
following on ALL copies of the document, or portions thereof, that you use: |
||||
|
||||
1 A link or URL to the original W3C document. |
||||
|
||||
2 The pre-existing copyright notice of the original author, or if it doesn't |
||||
exist, a notice (hypertext is preferred, but a textual representation is |
||||
permitted) of the form: "Copyright © [$date-of-document] World Wide Web |
||||
Consortium, (Massachusetts Institute of Technology, European Research |
||||
Consortium for Informatics and Mathematics, Keio University) and others. All |
||||
Rights |
||||
Reserved. http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright.html" |
||||
|
||||
3 If it exists, the STATUS of the W3C document. |
||||
|
||||
4 When space permits, inclusion of the full text of this NOTICE should be |
||||
provided. We request that authorship attribution be provided in any software, |
||||
documents, or other items or products that you create pursuant to the |
||||
implementation of the contents of this document, or any portion thereof. |
||||
|
||||
|
||||
No right to create modifications or derivatives of W3C documents is granted |
||||
pursuant to this license. However, if additional requirements (documented in the |
||||
Copyright FAQ) are satisfied, the right to create modifications or derivatives |
||||
is sometimes granted by the W3C to individuals complying with those |
||||
requirements. |
||||
|
||||
If a Test Suite distinguishes the test harness (or, framework for navigation) |
||||
and the actual tests, permission is given to remove or alter the harness or |
||||
navigation if the Test Suite in question allows to do so. The tests themselves |
||||
shall NOT be changed in any way. |
||||
|
||||
The name and trademarks of W3C and other copyright holders may NOT be used in |
||||
advertising or publicity pertaining to this document or other documents that |
||||
link to this statement without specific, written prior permission. Title to |
||||
copyright in this document will at all times remain with copyright |
||||
holders. Permission is given to use the trademarked string W3C within claims of |
||||
performance concerning W3C Specifications or features described therein, and |
||||
there only, if the test suite so authorizes. |
||||
|
||||
THIS WORK IS PROVIDED BY W3C, MIT, ERCIM, KEIO UNIVERSITY, THE COPYRIGHT HOLDERS |
||||
AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT |
||||
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A |
||||
PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL W3C, MIT, ERCIM, KEIO |
||||
UNIVERSITY, THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, |
||||
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, |
||||
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, |
||||
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF |
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE |
||||
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF |
||||
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
||||
|
||||
W3C 3-clause BSD License |
||||
======================== |
||||
|
||||
Redistribution and use in source and binary forms, with or without modification, |
||||
are permitted provided that the following conditions are met: |
||||
|
||||
1 Redistributions of works must retain the original copyright notice, this list |
||||
of conditions and the following disclaimer. |
||||
|
||||
2 Redistributions in binary form must reproduce the original copyright notice, |
||||
this list of conditions and the following disclaimer in the documentation |
||||
and/or other materials provided with the distribution. |
||||
|
||||
3 Neither the name of the W3C nor the names of its contributors may be used to |
||||
endorse or promote products derived from this work without specific prior |
||||
written permission. |
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
||||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
||||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
||||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR |
||||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
||||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
||||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
||||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
||||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
||||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
||||
|
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
<http://a.example/s> <http://a.example/p> "\u0080\u07FF\u0800\u0FFF\u1000\uCFFF\uD000\uD7FF\uE000\uFFFD\U00010000\U0003FFFD\U00040000\U000FFFFD\U00100000\U0010FFFD" . |
@ -0,0 +1,65 @@
@@ -0,0 +1,65 @@
|
||||
This README is for the W3C RDF Working Group's Turtle test suite. |
||||
This test suite contains four kinds of tests: |
||||
|
||||
132 Evaluation (rdft:TestTurtleEval) - a pair of an input turtle |
||||
file and reference ntriples file. |
||||
|
||||
77 Positive syntax (rdft:TestTurtlePositiveSyntax) - an input turtle |
||||
file with no syntax errors. |
||||
|
||||
78 Negative syntax (rdft:TestTurtleNegativeSyntax) - an input turtle |
||||
file with at least one syntax error. |
||||
|
||||
4 Negative Evaluation (rdft:TestTurtleNegativeEval) - a pair of an |
||||
input turtle file and reference ntriples file. These tests have the |
||||
same properties as rdft:TestTurtleNegativeSyntax. |
||||
|
||||
The manifest.ttl file in this directory lists all of the tests in the |
||||
RDF WG's Turtle test suite. Each test is one of the above tests. All |
||||
tests have a name (mf:name) and an input (mf:action). The Evaluation |
||||
tests have an expected result (mf:result). |
||||
|
||||
• An implementation passes an Evaluation test if it parses the input |
||||
into a graph, parses the expecte result into another graph, and |
||||
those two graphs are isomorphic (see |
||||
<http://www.w3.org/TR/rdf11-concepts/#graph-isomorphism>). |
||||
|
||||
• An implementation passes a positive syntax test if it parses the |
||||
input. |
||||
|
||||
• An implementation passes a negative syntax test if it fails to parse |
||||
the input. |
||||
|
||||
|
||||
RELATIVE IRI RESOLUTION: |
||||
|
||||
The home of the test suite is <http://www.w3.org/2013/TurtleTests/>. |
||||
Per RFC 3986 section 5.1.3, the base IRI for parsing each file is the |
||||
retrieval IRI for that file. For example, the tests turtle-subm-01 and |
||||
turtle-subm-27 require relative IRI resolution against a base of |
||||
<http://www.w3.org/2013/TurtleTests/turtle-subm-01.ttl> and |
||||
<http://www.w3.org/2013/TurtleTests/turtle-subm-27.ttl> respectively. |
||||
|
||||
|
||||
CHARACTER ENCODING: |
||||
|
||||
The Turtle language uses UTF-8 encoding. The following tests include |
||||
non-ascii characters: |
||||
localName_with_assigned_nfc_bmp_PN_CHARS_BASE_character_boundaries |
||||
localName_with_assigned_nfc_PN_CHARS_BASE_character_boundaries * |
||||
localName_with_nfc_PN_CHARS_BASE_character_boundaries * |
||||
labeled_blank_node_with_PN_CHARS_BASE_character_boundaries * |
||||
LITERAL1_with_UTF8_boundaries * |
||||
LITERAL_LONG1_with_UTF8_boundaries * |
||||
LITERAL2_with_UTF8_boundaries * |
||||
LITERAL_LONG2_with_UTF8_boundaries * |
||||
|
||||
Those marked with a * include characters with codepoints greater than |
||||
U+FFFD and are thus expressed as a pair of surrogate characters when |
||||
represented in UCS2. |
||||
|
||||
|
||||
See http://www.w3.org/2011/rdf-wg/wiki/Turtle_Test_Suite for more details. |
||||
|
||||
|
||||
Eric Prud'hommeaux <eric+turtle@w3.org> - 11 June 2013. |
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
BASE <http://a.example/> |
||||
<s> <http://a.example/p> <http://a.example/o> . |
@ -0,0 +1,2 @@
@@ -0,0 +1,2 @@
|
||||
PREFIX p: <http://a.example/> |
||||
p:s <http://a.example/p> <http://a.example/o> . |
@ -0,0 +1 @@
@@ -0,0 +1 @@
|
||||
<http://a.example/s> <http://a.example/p> <http://a.example/> . |
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
@prefix p: <http://a.example/> . |
||||
<http://a.example/s> <http://a.example/p> p:#comment |
||||
. |
@ -0,0 +1,3 @@
@@ -0,0 +1,3 @@
|
||||
@prefix p: <http://a.example/> . |
||||
<http://a.example/s> <http://a.example/p> p:o#comment |
||||
. |
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue