diff options
author | David Robillard <d@drobilla.net> | 2019-05-05 16:12:38 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2021-03-08 23:23:06 -0500 |
commit | 4e7e642d0d7b6dfa704f5ae95475854bb8c9b0b2 (patch) | |
tree | 6d04338db96fa2546e7e81168eb8ddbafb904b23 /test/multifile | |
parent | 8b353f1c530ae0f8d112648f34ea612c681ba57c (diff) | |
download | serd-4e7e642d0d7b6dfa704f5ae95475854bb8c9b0b2.tar.gz serd-4e7e642d0d7b6dfa704f5ae95475854bb8c9b0b2.tar.bz2 serd-4e7e642d0d7b6dfa704f5ae95475854bb8c9b0b2.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> . |