aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/syntactic/inline-blanks-and-lists.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-05 08:58:15 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commita1b677851274b7e5295962658e723cab007f9b85 (patch)
treebb9de8a1addaa32f0e973e382b16b4c46b64e0de /test/extra/syntactic/inline-blanks-and-lists.ttl
parentb5956c4dc6b065d664908104d5fc6752a87e3364 (diff)
downloadserd-a1b677851274b7e5295962658e723cab007f9b85.tar.gz
serd-a1b677851274b7e5295962658e723cab007f9b85.tar.bz2
serd-a1b677851274b7e5295962658e723cab007f9b85.zip
Add SERD_READ_ORDERED to preserve blank node ordering in models
Diffstat (limited to 'test/extra/syntactic/inline-blanks-and-lists.ttl')
-rw-r--r--test/extra/syntactic/inline-blanks-and-lists.ttl76
1 files changed, 76 insertions, 0 deletions
diff --git a/test/extra/syntactic/inline-blanks-and-lists.ttl b/test/extra/syntactic/inline-blanks-and-lists.ttl
new file mode 100644
index 00000000..3fdfa4ee
--- /dev/null
+++ b/test/extra/syntactic/inline-blanks-and-lists.ttl
@@ -0,0 +1,76 @@
+@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:o24 ,
+ [
+ a eg:Child
+ ] ,
+ [] ,
+ eg:o25 ,
+ [
+ a eg:FirstChild
+ ] , [
+ a eg:SecondChild
+ ] ,
+ () ,
+ eg:o26 ,
+ eg:o27 .
+
+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 .