summaryrefslogtreecommitdiffstats
path: root/tests/ntriples/nt2013-ex3.nt
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ntriples/nt2013-ex3.nt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ntriples/nt2013-ex3.nt b/tests/ntriples/nt2013-ex3.nt
new file mode 100644
index 0000000..f53611d
--- /dev/null
+++ b/tests/ntriples/nt2013-ex3.nt
@@ -0,0 +1,8 @@
+<http://example.org/show/218> <http://www.w3.org/2000/01/rdf-schema#label> "That Seventies Show"^^<http://www.w3.org/2001/XMLSchema#string> . # literal with XML Schema string datatype
+<http://example.org/show/218> <http://www.w3.org/2000/01/rdf-schema#label> "That Seventies Show" . # same as above
+<http://example.org/show/218> <http://example.org/show/localName> "That Seventies Show"@en . # literal with a language tag
+<http://example.org/show/218> <http://example.org/show/localName> "Cette Série des Années Septante"@fr-be . # literal outside of ASCII range with a region subtag
+<http://example.org/#spiderman> <http://example.org/text> "This is a multi-line\nliteral with many quotes (\"\"\"\"\")\nand two apostrophes ('')." .
+<http://en.wikipedia.org/wiki/Helium> <http://example.org/elements/atomicNumber> "2"^^<http://www.w3.org/2001/XMLSchema#integer> . # xsd:integer
+<http://en.wikipedia.org/wiki/Helium> <http://example.org/elements/specificGravity> "1.663E-4"^^<http://www.w3.org/2001/XMLSchema#double> . # xsd:double
+