Skip to content

Commit df8c276

Browse files
committed
Add positive and negative SPARQL 1.2 triple terms syntax tests
1 parent dcf6dfd commit df8c276

File tree

142 files changed

+1687
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

142 files changed

+1687
-0
lines changed

sparql/sparql12/manifest.ttl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ trs:manifest rdf:type mf:Manifest ;
3333
""";
3434
mf:include (
3535
<grouping/manifest.ttl>
36+
<syntax-triple-terms-negative/manifest.ttl>
37+
<syntax-triple-terms-positive/manifest.ttl>
3638
) .
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
<<s :p|:q ?o>>.
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
<<s :p|:q ?o ~ :iri >>.
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
<<(s :p|:q ?o)>>.
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
?s :p|:q ?o {| ?pp ?oo |} .
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/ns#>
2+
3+
SELECT * {
4+
:p ("abc") :o {| :q 123 |} .
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
?s :p+ ?o {| ?pp ?oo |} .
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * {
4+
:s :p? :o {| ?p ?o |}
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
:s+ :p ?o {| ?pp ?oo |} .
5+
}
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
PREFIX : <http://example.com/>
2+
3+
SELECT * WHERE {
4+
?s :p/:q ?o {| ?pp ?oo |}.
5+
}

0 commit comments

Comments
 (0)