diff options
author | David Robillard <d@drobilla.net> | 2023-03-29 23:34:40 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 4e1850852a74fe6904beabf793ea8d9915cab246 (patch) | |
tree | 5fff5fb4aa6161d7e69434e6d3ca587a971c35ea /test/multifile | |
parent | 5796f49ec8ff1933f4a3c258c16f140b39cc1c03 (diff) | |
download | serd-4e1850852a74fe6904beabf793ea8d9915cab246.tar.gz serd-4e1850852a74fe6904beabf793ea8d9915cab246.tar.bz2 serd-4e1850852a74fe6904beabf793ea8d9915cab246.zip |
Add support for reading multiple files at once
Diffstat (limited to 'test/multifile')
-rw-r--r-- | test/multifile/input1.ttl | 2 | ||||
-rw-r--r-- | test/multifile/input2.trig | 7 | ||||
-rw-r--r-- | test/multifile/output.nq | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/test/multifile/input1.ttl b/test/multifile/input1.ttl new file mode 100644 index 00000000..88c3f8e9 --- /dev/null +++ b/test/multifile/input1.ttl @@ -0,0 +1,2 @@ +[] + a <http://example.org/Type> . diff --git a/test/multifile/input2.trig b/test/multifile/input2.trig new file mode 100644 index 00000000..260080a8 --- /dev/null +++ b/test/multifile/input2.trig @@ -0,0 +1,7 @@ +[] + a <http://example.org/Type> . + +<http://example.org/graph> { + [] + a <http://example.org/OtherType> . +} diff --git a/test/multifile/output.nq b/test/multifile/output.nq new file mode 100644 index 00000000..dd35dc4d --- /dev/null +++ b/test/multifile/output.nq @@ -0,0 +1,3 @@ +_:f0b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Type> . +_:f1b1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Type> . +_:f1b2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/OtherType> <http://example.org/graph> . |