aboutsummaryrefslogtreecommitdiffstats
path: root/test/w3c/trig/trig-subm-13.trig
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:31 -0400
committerDavid Robillard <d@drobilla.net>2023-04-06 07:19:10 -0400
commit25784d0c24744533fd3c056e3d58f2f869ba341a (patch)
treef3ef224fb584a59980683909b4a934d22d1c4453 /test/w3c/trig/trig-subm-13.trig
parent45033d91842ebec303589e4ea14e6c62417e8469 (diff)
downloadserd-25784d0c24744533fd3c056e3d58f2f869ba341a.tar.gz
serd-25784d0c24744533fd3c056e3d58f2f869ba341a.tar.bz2
serd-25784d0c24744533fd3c056e3d58f2f869ba341a.zip
Simplify naming of W3C test directories
This matches the names used in <https://github.com/w3c/rdf-tests.git>.
Diffstat (limited to 'test/w3c/trig/trig-subm-13.trig')
-rw-r--r--test/w3c/trig/trig-subm-13.trig18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/w3c/trig/trig-subm-13.trig b/test/w3c/trig/trig-subm-13.trig
new file mode 100644
index 00000000..8d1b44da
--- /dev/null
+++ b/test/w3c/trig/trig-subm-13.trig
@@ -0,0 +1,18 @@
+# Tests for rdf:_<numbers> and other qnames starting with _
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix ex: <http://example.org/ex#> .
+@prefix : <http://example.org/myprop#> .
+
+{
+ex:foo rdf:_1 "1" .
+ex:foo rdf:_2 "2" .
+ex:foo :_abc "def" .
+ex:foo :_345 "678" .
+}
+
+<http://example/graph> {
+ex:foo rdf:_1 "1" .
+ex:foo rdf:_2 "2" .
+ex:foo :_abc "def" .
+ex:foo :_345 "678" .
+}