aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/longhand/shorthand.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-01 19:20:23 -0400
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commitc9afaab2a84f592e4567b37b3551511381e734e4 (patch)
tree414c77e7b41c222e9237d76add5c1c4944079ebd /test/extra/longhand/shorthand.ttl
parent3cc5a4fcaea8f1e2fd47c53135b53f8edcb8619d (diff)
downloadserd-c9afaab2a84f592e4567b37b3551511381e734e4.tar.gz
serd-c9afaab2a84f592e4567b37b3551511381e734e4.tar.bz2
serd-c9afaab2a84f592e4567b37b3551511381e734e4.zip
Add "longhand" mode to write rdf:type predicates normally
Diffstat (limited to 'test/extra/longhand/shorthand.ttl')
-rw-r--r--test/extra/longhand/shorthand.ttl13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/extra/longhand/shorthand.ttl b/test/extra/longhand/shorthand.ttl
new file mode 100644
index 00000000..d563021e
--- /dev/null
+++ b/test/extra/longhand/shorthand.ttl
@@ -0,0 +1,13 @@
+@prefix eg: <http://example.org/eg#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+
+[]
+ a eg:Node ;
+ eg:with [
+ a eg:NodeChild ;
+ eg:having (
+ [
+ a eg:ListItem
+ ]
+ )
+ ] .