turtle examples 1-3
authorGuus Schreiber <guus.schreiber@vu.nl>
Fri, 03 Jan 2014 17:58:38 +0100
changeset 1736 6fe37f086ae3
parent 1735 52ef2b33896a
child 1737 b3d73a7d48d1
turtle examples 1-3
PR-drafts/PR-turtle-20140109/examples/example1.ttl
PR-drafts/PR-turtle-20140109/examples/example2.ttl
PR-drafts/PR-turtle-20140109/examples/example3.ttl
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PR-drafts/PR-turtle-20140109/examples/example1.ttl	Fri Jan 03 17:58:38 2014 +0100
@@ -0,0 +1,10 @@
[email protected] rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
[email protected] dc: <http://purl.org/dc/elements/1.1/> .
[email protected] ex: <http://example.org/stuff/1.0/> .
+
+<http://www.w3.org/TR/rdf-syntax-grammar>
+  dc:title "RDF/XML Syntax Specification (Revised)" ;
+  ex:editor [
+    ex:fullname "Dave Beckett";
+    ex:homePage <http://purl.org/net/dajobe/>
+  ] .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PR-drafts/PR-turtle-20140109/examples/example2.ttl	Fri Jan 03 17:58:38 2014 +0100
@@ -0,0 +1,7 @@
[email protected] : <http://example.org/stuff/1.0/> .
[email protected] rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+:a :b
+  [ rdf:first "apple";
+    rdf:rest [ rdf:first "banana";
+               rdf:rest rdf:nil ]
+  ] .
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/PR-drafts/PR-turtle-20140109/examples/example3.ttl	Fri Jan 03 17:58:38 2014 +0100
@@ -0,0 +1,7 @@
[email protected] : <http://example.org/stuff/1.0/> .
+
+:a :b "The first line\nThe second line\n  more" .
+
+:a :b """The first line
+The second line
+  more""" .