aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-pretty.ttl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-pretty.ttl')
-rw-r--r--tests/test-pretty.ttl44
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/test-pretty.ttl b/tests/test-pretty.ttl
new file mode 100644
index 00000000..4eb7204f
--- /dev/null
+++ b/tests/test-pretty.ttl
@@ -0,0 +1,44 @@
+@prefix : <http://example.org/> .
+
+() :isA :List .
+
+[] :isA :Blank .
+
+() :sameAs () .
+
+[] :sameAs [] .
+
+(
+ "apple"
+ "banana"
+ "pear"
+) a :List .
+
+(
+ (:a :b)
+ (:c :d)
+) a :List .
+
+[]
+ :list (
+ "apple"
+ "banana"
+ "pear"
+ ) .
+
+[]
+ :a :b , :c , :d .
+
+[]
+ :a [
+ :b :c ;
+ :d :e ;
+ ] , [
+ :f :g
+ ] .
+
+[]
+ :list (
+ [ a :Apple ]
+ [ a :Banana ]
+ ) . \ No newline at end of file