aboutsummaryrefslogtreecommitdiffstats
path: root/test/pretty/inline-blanks-and-lists.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-03-28 12:10:35 -0400
committerDavid Robillard <d@drobilla.net>2023-04-05 09:45:15 -0400
commitbd2d7f510576c2185ddb0e9b8872079dba2a05c7 (patch)
treeab02e921f11db296fc77ffbbd981bad51e9648bf /test/pretty/inline-blanks-and-lists.ttl
parente970e63146fb5d8de511104eba7aef5319e8653b (diff)
downloadserd-bd2d7f510576c2185ddb0e9b8872079dba2a05c7.tar.gz
serd-bd2d7f510576c2185ddb0e9b8872079dba2a05c7.tar.bz2
serd-bd2d7f510576c2185ddb0e9b8872079dba2a05c7.zip
Fix pretty-printing of anonymous subjects
Diffstat (limited to 'test/pretty/inline-blanks-and-lists.ttl')
-rw-r--r--test/pretty/inline-blanks-and-lists.ttl61
1 files changed, 61 insertions, 0 deletions
diff --git a/test/pretty/inline-blanks-and-lists.ttl b/test/pretty/inline-blanks-and-lists.ttl
new file mode 100644
index 00000000..c57482d3
--- /dev/null
+++ b/test/pretty/inline-blanks-and-lists.ttl
@@ -0,0 +1,61 @@
+@prefix eg: <http://example.org/eg#> .
+
+[
+ a eg:TopBlank
+] .
+
+[
+ a []
+] .
+
+[
+ a ()
+] .
+
+[]
+ a [] ,
+ [] .
+
+[]
+ a [] ,
+ () .
+
+[]
+ a () ,
+ [] .
+
+[]
+ a () ,
+ () .
+
+eg:s2
+ a eg:SparseThing ,
+ [] ,
+ () ,
+ [] ,
+ [] ,
+ () ,
+ () ,
+ <http://example.org/uri21> ,
+ [] ,
+ <http://example.org/uri22> ,
+ () ,
+ <http://example.org/uri23> ,
+ [] ,
+ eg:o21 ,
+ [] ,
+ eg:o22 ,
+ () ,
+ eg:o23 .
+
+eg:s3
+ a eg:Thing ;
+ eg:p1 eg:o1 ,
+ [
+ a eg:SubThing ;
+ eg:p2 eg:o2
+ ] , [
+ a eg:OtherSubThing ;
+ eg:p3 eg:o3
+ ] ;
+ eg:p4 eg:o4 .