diff options
author | David Robillard <d@drobilla.net> | 2023-12-01 21:59:18 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 9b1139fe7045a0630e87501235af21803860b80c (patch) | |
tree | 3a7cd3ee639e0b7a6f2244177819f8843202c692 /test/extra/pattern/test-pattern.nt | |
parent | 94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098 (diff) | |
download | serd-9b1139fe7045a0630e87501235af21803860b80c.tar.gz serd-9b1139fe7045a0630e87501235af21803860b80c.tar.bz2 serd-9b1139fe7045a0630e87501235af21803860b80c.zip |
[WIP] Add support for reading and writing variables
[WIP] Command line option, move later?
This adds a reader flag and serdi option for extending a syntax with support
for SPARQL-like variables, for storing things like patterns or simple queries.
Diffstat (limited to 'test/extra/pattern/test-pattern.nt')
-rw-r--r-- | test/extra/pattern/test-pattern.nt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/extra/pattern/test-pattern.nt b/test/extra/pattern/test-pattern.nt new file mode 100644 index 00000000..ddfe6d3c --- /dev/null +++ b/test/extra/pattern/test-pattern.nt @@ -0,0 +1,6 @@ +?s <http://example.org/p1> <http://example.org/o1> . +<http://example.org/s> ?p <http://example.org/o1> . +<http://example.org/s> <http://example.org/p1> ?o . +<http://example.org/s> <http://example.org/p2> _:b1 . +_:b1 ?2p <http://example.org/o2> . +_:b1 <http://example.org/p3> ?_o . |