Skip to content

Commit 103c0a1

Browse files
committed
More SHACL Rules syntax tests
1 parent 5dda152 commit 103c0a1

File tree

77 files changed

+551
-73
lines changed

Some content is hidden

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

77 files changed

+551
-73
lines changed
Lines changed: 44 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
# SHACL Rules Test Suite
1+
# SHACL 1.2 Rules Tests
2+
3+
4+
5+
## Manifests
6+
7+
Tests use the <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#>
8+
vocabulary.
9+
10+
```
11+
PREFIX mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#>
12+
PREFIX srt: <http://www.w3.org/ns/shacl-rules-test#>
13+
```
14+
15+
Each directory has a test manifest. A manifest file may contain `mf:include` to load
16+
tests from another manifest files.
17+
18+
## Test types
19+
20+
### Syntax tests
21+
22+
Good and bad syntax tests, regardless of well-formedness and stratification.
23+
24+
### Translation tests
25+
26+
Translate between SRL and RDF syntax forms.
27+
28+
### Well-formedness tests
29+
30+
These are test for well-formedness conditions.
31+
All the test are syntactically legal, i.e. conform to the SHACL Rules grammar and any
32+
addition parsing rules.
33+
34+
To pass a test, the parser must accept or reject a rule set as stated by the test
35+
stype. A negative well-formedness is a ruleset that violates the well-formed
36+
conditions of the SHACL abstract rule syntax.
37+
38+
### Illegal stratification
39+
40+
These test rule sets to detect where the startification condition is violated.
41+
42+
All the test are syntactically legal and well-formed.
43+
44+
## Evaluation tests

0 commit comments

Comments
 (0)