diff options
author | David Robillard <d@drobilla.net> | 2019-05-05 16:12:38 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-10-27 13:13:58 +0100 |
commit | 9afb76e19e67951f6e6273acbbd35ceafb376e45 (patch) | |
tree | d9c8251ed5dbf42a1ad2a36303c87f354717dcfa /tests/multifile | |
parent | 036251436d8203b159043d27c9ee3f2b2cba633a (diff) | |
download | serd-9afb76e19e67951f6e6273acbbd35ceafb376e45.tar.gz serd-9afb76e19e67951f6e6273acbbd35ceafb376e45.tar.bz2 serd-9afb76e19e67951f6e6273acbbd35ceafb376e45.zip |
Add support for reading multiple files at once
Diffstat (limited to 'tests/multifile')
-rw-r--r-- | tests/multifile/input1.ttl | 2 | ||||
-rw-r--r-- | tests/multifile/input2.trig | 7 | ||||
-rw-r--r-- | tests/multifile/output.nq | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/tests/multifile/input1.ttl b/tests/multifile/input1.ttl new file mode 100644 index 00000000..88c3f8e9 --- /dev/null +++ b/tests/multifile/input1.ttl @@ -0,0 +1,2 @@ +[] + a <http://example.org/Type> . diff --git a/tests/multifile/input2.trig b/tests/multifile/input2.trig new file mode 100644 index 00000000..260080a8 --- /dev/null +++ b/tests/multifile/input2.trig @@ -0,0 +1,7 @@ +[] + a <http://example.org/Type> . + +<http://example.org/graph> { + [] + a <http://example.org/OtherType> . +} diff --git a/tests/multifile/output.nq b/tests/multifile/output.nq new file mode 100644 index 00000000..dd35dc4d --- /dev/null +++ b/tests/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> . |