aboutsummaryrefslogtreecommitdiffstats
path: root/test/TriGTests/trig-subm-12.trig
diff options
context:
space:
mode:
Diffstat (limited to 'test/TriGTests/trig-subm-12.trig')
-rw-r--r--test/TriGTests/trig-subm-12.trig19
1 files changed, 19 insertions, 0 deletions
diff --git a/test/TriGTests/trig-subm-12.trig b/test/TriGTests/trig-subm-12.trig
new file mode 100644
index 00000000..b0f8ff83
--- /dev/null
+++ b/test/TriGTests/trig-subm-12.trig
@@ -0,0 +1,19 @@
+# Tests for - and _ in names, qnames
+@prefix ex1: <http://example.org/ex1#> .
+@prefix ex-2: <http://example.org/ex2#> .
+@prefix ex3_: <http://example.org/ex3#> .
+@prefix ex4-: <http://example.org/ex4#> .
+
+{
+ex1:foo-bar ex1:foo_bar "a" .
+ex-2:foo-bar ex-2:foo_bar "b" .
+ex3_:foo-bar ex3_:foo_bar "c" .
+ex4-:foo-bar ex4-:foo_bar "d" .
+}
+
+<http://example/graph> {
+ex1:foo-bar ex1:foo_bar "a" .
+ex-2:foo-bar ex-2:foo_bar "b" .
+ex3_:foo-bar ex3_:foo_bar "c" .
+ex4-:foo-bar ex4-:foo_bar "d" .
+}