diff options
author | David Robillard <d@drobilla.net> | 2011-05-12 22:50:07 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-05-12 22:50:07 +0000 |
commit | 22f5f5c7e32b043433103edb404bfbe43effa15d (patch) | |
tree | 2bb579f0af8415d0fb78eef788ba1714079f3824 /tests/test-30.ttl | |
parent | d1a185c160bf8767e9001a6357f46ac6cfc6f94d (diff) | |
download | sord-22f5f5c7e32b043433103edb404bfbe43effa15d.tar.gz sord-22f5f5c7e32b043433103edb404bfbe43effa15d.tar.bz2 sord-22f5f5c7e32b043433103edb404bfbe43effa15d.zip |
Add base_uri parameter to sord_read_file.
Add sord_write_writer.
Use command line base URI in sordi if given.
Use correct output style options for output syntax in sordi.
Use sord_write_writer in sordi instead of manual writing code.
Abbreviate serialised model output for Turtle.
Preserve UTF-8 length information for nodes from Serd.
Use string lengths not including terminator (match new Serd).
Add test suite.
git-svn-id: http://svn.drobilla.net/sord/trunk@111 3d64ff67-21c5-427c-a301-fe4f08042e5a
Diffstat (limited to 'tests/test-30.ttl')
-rw-r--r-- | tests/test-30.ttl | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/test-30.ttl b/tests/test-30.ttl new file mode 100644 index 0000000..6721ec2 --- /dev/null +++ b/tests/test-30.ttl @@ -0,0 +1,12 @@ +# In-scope base URI is http://www.w3.org/2001/sw/DataAccess/df1/tests/ at this point +<a1> <b1> <c1> . +@base <http://example.org/ns/> . +# In-scope base URI is http://example.org/ns/ at this point +<a2> <http://example.org/ns/b2> <c2> . +@base <foo/> . +# In-scope base URI is http://example.org/ns/foo/ at this point +<a3> <b3> <c3> . +@prefix : <bar#> . +:a4 :b4 :c4 . +@prefix : <http://example.org/ns2#> . +:a5 :b5 :c5 . |