-
Notifications
You must be signed in to change notification settings - Fork 164
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3193a24
commit ecf4d06
Showing
13 changed files
with
103 additions
and
34 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
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
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
10 changes: 10 additions & 0 deletions
10
...sail/shacl/src/test/resources/test-cases/hasValue/targetShapeAnd3/invalid/case3/query2.rq
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 ex: <http://example.com/ns#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
|
||
DELETE DATA { | ||
ex:validPerson1 ex:info "red" . | ||
} |
File renamed without changes.
10 changes: 10 additions & 0 deletions
10
...sail/shacl/src/test/resources/test-cases/hasValue/targetShapeAnd3/invalid/case4/query1.rq
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 ex: <http://example.com/ns#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
|
||
DELETE DATA { | ||
ex:validPerson1 ex:info "red" . | ||
} |
23 changes: 23 additions & 0 deletions
23
...ail/shacl/src/test/resources/test-cases/hasValue/targetShapeAnd3/invalid/case4/report.ttl
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,23 @@ | ||
@prefix ex: <http://example.com/ns#> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix rsx: <http://rdf4j.org/shacl-extensions#> . | ||
@prefix rdf4j: <http://rdf4j.org/schema/rdf4j#> . | ||
|
||
[] a sh:ValidationReport; | ||
rdf4j:truncated false; | ||
sh:conforms false; | ||
sh:result [ a sh:ValidationResult; | ||
rsx:shapesGraph rdf4j:SHACLShapeGraph; | ||
sh:focusNode ex:validPerson1; | ||
sh:resultPath ex:info2; | ||
sh:resultSeverity sh:Violation; | ||
sh:sourceConstraintComponent sh:MinCountConstraintComponent; | ||
sh:sourceShape [ a sh:PropertyShape; | ||
sh:minCount 1; | ||
sh:path ex:info2 | ||
] | ||
] . |
19 changes: 19 additions & 0 deletions
19
...l/shacl/src/test/resources/test-cases/path/sequencePathTargetShape3/valid/case8/query1.rq
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,19 @@ | ||
PREFIX ex: <http://example.com/ns#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
|
||
INSERT DATA { | ||
|
||
ex:person1 ex:knows1 ex:person2. | ||
ex:person2 ex:knows2 ex:person3. | ||
ex:person3 ex:knows3 ex:person4. | ||
ex:person4 ex:knows4 ex:person5. | ||
ex:person5 ex:knows5 ex:person6. | ||
ex:person6 rdf:type ex:Person, ex:NotPerson. | ||
|
||
|
||
ex:person1 ex:knowsA ex:peter. | ||
} |
12 changes: 12 additions & 0 deletions
12
...l/shacl/src/test/resources/test-cases/path/sequencePathTargetShape3/valid/case8/query2.rq
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,12 @@ | ||
PREFIX ex: <http://example.com/ns#> | ||
PREFIX owl: <http://www.w3.org/2002/07/owl#> | ||
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> | ||
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> | ||
PREFIX sh: <http://www.w3.org/ns/shacl#> | ||
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#> | ||
|
||
DELETE DATA { | ||
|
||
ex:person5 ex:knows5 ex:person6. | ||
|
||
} |
12 changes: 12 additions & 0 deletions
12
.../shacl/src/test/resources/test-cases/path/sequencePathTargetShape3/valid/case8/report.ttl
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,12 @@ | ||
@prefix ex: <http://example.com/ns#> . | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> . | ||
@prefix sh: <http://www.w3.org/ns/shacl#> . | ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . | ||
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . | ||
@prefix rsx: <http://rdf4j.org/shacl-extensions#> . | ||
@prefix rdf4j: <http://rdf4j.org/schema/rdf4j#> . | ||
|
||
[] a sh:ValidationReport; | ||
rdf4j:truncated false; | ||
sh:conforms true . |