aboutsummaryrefslogtreecommitdiffstats
path: root/tests/TriGTests/trig-syntax-minimal-whitespace-01.trig
diff options
context:
space:
mode:
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.}
+:{: : :}{: : :}:{: : :}
+:{():()}{():[]}:{[]:[]}