aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/longhand/longhand.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/longhand.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/longhand.ttl')
-rw-r--r--test/extra/longhand/longhand.ttl13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/extra/longhand/longhand.ttl b/test/extra/longhand/longhand.ttl
new file mode 100644
index 00000000..b756ce91
--- /dev/null
+++ b/test/extra/longhand/longhand.ttl
@@ -0,0 +1,13 @@
+@prefix eg: <http://example.org/eg#> .
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+
+[]
+ rdf:type eg:Node ;
+ eg:with [
+ rdf:type eg:NodeChild ;
+ eg:having (
+ [
+ rdf:type eg:ListItem
+ ]
+ )
+ ] .