aboutsummaryrefslogtreecommitdiffstats
path: root/tests/TrigTests/trig-syntax-minimal-whitespace-01.trig
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-01-06 14:48:03 -0500
committerDavid Robillard <d@drobilla.net>2017-01-06 21:39:01 -0500
commit5475750ecf496c774a082464b3e60f5adce9cc8a (patch)
tree57e844edc09637096d1b5ea16dcc5ebb69f88345 /tests/TrigTests/trig-syntax-minimal-whitespace-01.trig
parent52590dbeb23100320417d6f72e20fadf215479e5 (diff)
downloadserd-5475750ecf496c774a082464b3e60f5adce9cc8a.tar.gz
serd-5475750ecf496c774a082464b3e60f5adce9cc8a.tar.bz2
serd-5475750ecf496c774a082464b3e60f5adce9cc8a.zip
Add support for reading TriG
Diffstat (limited to 'tests/TrigTests/trig-syntax-minimal-whitespace-01.trig')
-rw-r--r--tests/TrigTests/trig-syntax-minimal-whitespace-01.trig21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/TrigTests/trig-syntax-minimal-whitespace-01.trig b/tests/TrigTests/trig-syntax-minimal-whitespace-01.trig
new file mode 100644
index 00000000..f53451f8
--- /dev/null
+++ b/tests/TrigTests/trig-syntax-minimal-whitespace-01.trig
@@ -0,0 +1,21 @@
+BASE<http://example/base>
+@base<http://example/base>.
+PREFIX :<http://example/a/>
+PREFIX b:<http://example/b/>
+@prefix:<http://example/c/>.
+@prefix
+d:<http://example/d/>.
+
+{<http://example/s><http://example/p><http://example/o>.<http://example/s><http://example/p>"Alice".<http://example/s><http://example/p>_:o.}
+{:s :p :o .:s :p"Alice".:s :p _:o.}
+{b:s b:p b:o .b:s b:p"Alice".b:s b:p _:o.}
+{_:s:p :o ._:s:p"Alice". _:s:p _:o .}
+{[:p :o].[:p"Alice"].[:p _:o].}
+{[:p(:o)].[:p(_:o)].[:p("Alice")].[:p(<http://example/o>)].}
+{:s :p :o,:o2 .:s :p"Alice","Ted".:s :p _:o,_:o2.}
+{:s :p :o;:p2 :o2 .:s :p"Alice";:p2 "Ted".:s :p _:o;:p2 _:o2.}
+<http://example/g>{:s :p :o .:s :p"Alice".:s :p _:o.}
+:s{:s :p :o .:s :p"Alice".:s :p _:o.}
+_:s{:s :p :o .:s :p"Alice".:s :p _:o.}
+:{: : :}{: : :}:{: : :}
+:{():()}{():[]}:{[]:[]}