-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disallow triple terms in subject position
- Loading branch information
1 parent
f5aa189
commit 5b9139c
Showing
21 changed files
with
201 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
queries/sparql-1-2-invalid/sparql-1-2-syntax-basic-tripleterm-subject.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
SELECT * { | ||
VALUES ?x { | ||
<<(:s :p :o )>> | ||
<<( <<(:s :p :o )>> :q :z )>> | ||
} | ||
VALUES (?y ?z) { (<<(:s :p :o )>> 123 ) | ||
(123 <<(:s :p :o )>> ) } | ||
} |
10 changes: 10 additions & 0 deletions
10
queries/sparql-1-2-invalid/sparql-1-2-syntax-compound-tripleterm-subject.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
SELECT * { | ||
|
||
<<(:x ?R :z )>> :p <<(:a :b ?C )>> . | ||
|
||
<<( <<(:x ?R :z )>> :p <<(:a :b [] )>> )>> | ||
:q | ||
<<( <<([] ?R :z )>> :p <<(:a :b [] )>> )>> . | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
queries/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-06.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
CONSTRUCT { <<(:s :p :o )>> :q :z } | ||
CONSTRUCT { :s :q <<(:s :p :o )>> } | ||
WHERE {} |
2 changes: 1 addition & 1 deletion
2
queries/sparql-1-2/sparql-1-2-syntax-basic-tripleterm-07.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
CONSTRUCT WHERE { | ||
<<(?s ?p ?o )>> ?q ?z . | ||
:s ?q <<(?s ?p :o )>> . | ||
?a ?b <<(?s ?p ?o )>> . | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
queries/sparql-1-2/sparql-1-2-syntax-nested-tripleterm-01.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
SELECT * { | ||
<<(?S :p :o )>> :r :z . | ||
<<( <<(?S :p :o )>> :r :z )>> :q 1 . | ||
:s :r <<(?S :p :o )>> . | ||
:s :q <<( :s1 :r <<(?S :p :o )>> )>> . | ||
} |
6 changes: 0 additions & 6 deletions
6
queries/sparql-1-2/sparql-1-2-syntax-nested-tripleterm-02.sparql
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
queries/sparql-1-2/sparql-1-2-syntax-update-tripleterm-01.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
INSERT DATA { | ||
<<( :a :b :c )>> :p :o . | ||
:s :p <<( :a :b :c )>> . | ||
} |
4 changes: 2 additions & 2 deletions
4
queries/sparql-1-2/sparql-1-2-syntax-update-tripleterm-03.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
INSERT { | ||
<<( :a :b :c )>> ?P :o2 {| ?Y ?Z |} | ||
?S ?P <<( :a :b :c )>> {| ?Y ?Z |} | ||
} WHERE { | ||
<<( :a :b :c )>> ?P :o1 {| ?Y ?Z |} | ||
:s ?P <<( :a :b :c )>> {| ?Y ?Z |} | ||
} | ||
|
4 changes: 2 additions & 2 deletions
4
queries/sparql-1-2/sparql-1-2-syntax-update-tripleterm-04.sparql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
PREFIX : <http://example.com/ns#> | ||
|
||
INSERT { | ||
<<( :a :b :c )>> ?P :o2 {| ?Y <<(:s1 :p1 ?Z)>> |} | ||
:s ?P <<( :a :b :c )>> {| ?Y <<(:s1 :p1 ?Z)>> |} | ||
} WHERE { | ||
<<( :a :b :c )>> ?P :o1 {| ?Y <<(:s1 :p1 ?Z)>> |} | ||
?s ?P <<( :a :b :c )>> {| ?Y <<(:s1 :p1 ?Z)>> |} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.