aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/good/test-ttl-syntax-all-rules.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra/good/test-ttl-syntax-all-rules.ttl')
-rw-r--r--test/extra/good/test-ttl-syntax-all-rules.ttl26
1 files changed, 26 insertions, 0 deletions
diff --git a/test/extra/good/test-ttl-syntax-all-rules.ttl b/test/extra/good/test-ttl-syntax-all-rules.ttl
new file mode 100644
index 00000000..ead2e8a8
--- /dev/null
+++ b/test/extra/good/test-ttl-syntax-all-rules.ttl
@@ -0,0 +1,26 @@
+# Cover as many grammar rules/situations as possible in a small document
+@base <> .
+@prefix eg: <http://example.org> .
+<example:s> <example:p> "ob\t\b\n\r\f\\\"\'\u0025\U00015678ject" .
+ <example:s> <example:p> """long
+ ""string""\t\b\n\r\f\'\u0025\U00015678""" .
+eg:s eg:p "€߿ࠀ࿿က쿿퀀퟿�𐀀𿿽񀀀󿿽􀀀􏿽" .
+ eg:sub%25ject eg:pr\~d "o"^^eg:T .
+eg:sub%25ject eg:pr\~d "o"@en .
+_:e.u.s eg:p "o"@en-gb .
+_:e.u.s eg:p _:o.
+_:e.u.s eg:p‿r⁀d 2.
+_:e.u.s eg:prèd 3 .
+_:e.u.s eg:pͯ 4.5.
+eg:s eg:p 0 , .1 , 2.3 , 4E5, 6e07 .
+eg:s eg:p .7e8 , .9E0 , 1.e2 , 3.E4 .
+eg:s eg:p .2E3 , .4e5 , 6.7E8 , 9.
+ [ ] eg:p 0.e1, 2.E3.
+[] eg:p (1 -2.3 4e5 +6.E-7 8.e+9 .1 -.2 +.3) .
+eg:s eg:p [] .
+[
+ eg:p1 eg:o1 ;
+ eg:p2 _:o2 ;
+ eg:p3 "o3" ;
+
+ ] a eg:S .