diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:40:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 05:40:05 +0000 |
commit | 4038ab95a094b363f1748f3dcb51511a1217475d (patch) | |
tree | 7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/nquads-2013/nt-syntax-subm-01.nq | |
parent | Initial commit. (diff) | |
download | raptor2-upstream.tar.xz raptor2-upstream.zip |
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | tests/nquads-2013/nt-syntax-subm-01.nq | 79 |
1 files changed, 79 insertions, 0 deletions
diff --git a/tests/nquads-2013/nt-syntax-subm-01.nq b/tests/nquads-2013/nt-syntax-subm-01.nq new file mode 100644 index 0000000..91b4988 --- /dev/null +++ b/tests/nquads-2013/nt-syntax-subm-01.nq @@ -0,0 +1,79 @@ +# +# Copyright World Wide Web Consortium, (Massachusetts Institute of +# Technology, Institut National de Recherche en Informatique et en +# Automatique, Keio University). +# +# All Rights Reserved. +# +# Please see the full Copyright clause at +# <http://www.w3.org/Consortium/Legal/copyright-software.html> +# +# Test file with a variety of legal N-Triples +# +# Dave Beckett - http://purl.org/net/dajobe/ +# +# $Id: test.nt,v 1.7 2003/10/06 15:52:19 dbeckett2 Exp $ +# +##################################################################### + +# comment lines + # comment line after whitespace +# empty blank line, then one with spaces and tabs + + +<http://example.org/resource1> <http://example.org/property> <http://example.org/resource2> . +_:anon <http://example.org/property> <http://example.org/resource2> . +<http://example.org/resource2> <http://example.org/property> _:anon . +# spaces and tabs throughout: + <http://example.org/resource3> <http://example.org/property> <http://example.org/resource2> . + +# line ending with CR NL (ASCII 13, ASCII 10) +<http://example.org/resource4> <http://example.org/property> <http://example.org/resource2> . + +# 2 statement lines separated by single CR (ASCII 10) +<http://example.org/resource5> <http://example.org/property> <http://example.org/resource2> . +<http://example.org/resource6> <http://example.org/property> <http://example.org/resource2> . + + +# All literal escapes +<http://example.org/resource7> <http://example.org/property> "simple literal" . +<http://example.org/resource8> <http://example.org/property> "backslash:\\" . +<http://example.org/resource9> <http://example.org/property> "dquote:\"" . +<http://example.org/resource10> <http://example.org/property> "newline:\n" . +<http://example.org/resource11> <http://example.org/property> "return\r" . +<http://example.org/resource12> <http://example.org/property> "tab:\t" . + +# Space is optional before final . +<http://example.org/resource13> <http://example.org/property> <http://example.org/resource2>. +<http://example.org/resource14> <http://example.org/property> "x". +<http://example.org/resource15> <http://example.org/property> _:anon. + +# \u and \U escapes +# latin small letter e with acute symbol \u00E9 - 3 UTF-8 bytes #xC3 #A9 +<http://example.org/resource16> <http://example.org/property> "\u00E9" . +# Euro symbol \u20ac - 3 UTF-8 bytes #xE2 #x82 #xAC +<http://example.org/resource17> <http://example.org/property> "\u20AC" . +# resource18 test removed +# resource19 test removed +# resource20 test removed + +# XML Literals as Datatyped Literals +<http://example.org/resource21> <http://example.org/property> ""^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource22> <http://example.org/property> " "^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource23> <http://example.org/property> "x"^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource23> <http://example.org/property> "\""^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource24> <http://example.org/property> "<a></a>"^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource25> <http://example.org/property> "a <b></b>"^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource26> <http://example.org/property> "a <b></b> c"^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource26> <http://example.org/property> "a\n<b></b>\nc"^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +<http://example.org/resource27> <http://example.org/property> "chat"^^<http://www.w3.org/2000/01/rdf-schema#XMLLiteral> . +# resource28 test removed 2003-08-03 +# resource29 test removed 2003-08-03 + +# Plain literals with languages +<http://example.org/resource30> <http://example.org/property> "chat"@fr . +<http://example.org/resource31> <http://example.org/property> "chat"@en . + +# Typed Literals +<http://example.org/resource32> <http://example.org/property> "abc"^^<http://example.org/datatype1> . +# resource33 test removed 2003-08-03 |