SHACL Rules provides inferencing with the generation of new RDF data from a
combination of a set of rules and a base data graph. Rules can be expressed as RDF
- or in the SHACL Rules Language (SRL).
+ or in the Shape Rules Language (SRL).
This specification is published by the
@@ -317,13 +317,13 @@
Document Conventions
This specification defines conformance criteria for:
A conforming
Shapes Rules Language Document is an
+ data-lt="shape rules document|ruleset document"
+ >Shape Rules Language Document is an
RDF string that
conforms to the grammar, starting with the
RuleSet
@@ -340,7 +340,7 @@
Document Conventions
Version Labels
A version label is a string that identifies the syntax and semantics conformance
- for the Shacl Rules Language.
+ for the Shapes Rules Language.
@@ -601,7 +601,7 @@
Assignment and Creating RDF Terms
their [=rule head=] are [=run-once rules=].
Such rules are run after all the rules that could produce data that they depend on,
and before any rules that depend on the data they produce.
- Rules that involve blank node in the [=rule head=] are also creating new
+ Rules that involve blank nodes in the [=rule head=] also create new
RDF terms and are run-once rules.
@@ -710,7 +710,7 @@
Shape Rules Abstract Syntax
The Shape Rules Abstract Syntax is the logical structure of SHACL Rules.
It is used to define the execution algorithm of SHACL Rules.
- Each of the two concrete syntax forms of SHACL Rules, the SHACL Rules Language (SRL)
+ Each of the two concrete syntax forms of SHACL Rules, the Shape Rules Language (SRL)
and the RDF syntax (SRL/RDF), provides a way to express the abstract syntax.
@@ -967,8 +967,8 @@
Rule Dependency
either as a [=triple pattern element=] or inside a [=negation element=].
- There are two kinds of dependencies:
- [=closed dependencies=] and an [=open dependencies=].
+ There are two kinds of dependency:
+ [=closed dependencies=] and [=open dependencies=].
A closed dependency ensures that rule `R2`
has generated all its possible output before rule `R1` is executed.
If a rule dependency is not closed, it is an open dependency
@@ -995,7 +995,7 @@
Rule Dependency
A [=triple pattern=] matches a [=triple template=] if
- the triple template may generate a triple that matches the triple pattern.
+ the triple template can generate a triple that matches the triple pattern.
@@ -1057,7 +1057,7 @@
Rule Dependency
A [=triple template=] with components `tSubj`, `tPred`, `tObj`
can possibly generate a triple with component RDF terms
- `s`, `p`, `o` if
+ `s`, `p`, `o` if all of the following are true:
`tSubj` is a variable, or `tSubj` is the
@@ -1260,7 +1260,7 @@
Stratification
blank nodes in the [=rule head=]; these rules are each evaluated exactly
once at the start of evaluation of the [=stratification layer=].
`SL.general` contains the remaining rules, which are evaluated
- until no new triples are inferred.
+ repeatedly until no new triples are inferred.
Stratification
@@ -1387,11 +1387,11 @@
Stratification Algorithm
-
Concrete Syntax forms for Shapes Rules
+
Concrete Syntax forms for the Shape Rules Language
to separate two terminals which would otherwise be (mis-)recognized as one
terminal. Rule names below in capitals indicate where white space is
significant; these form a possible choice of terminals for constructing a
- Shapes Rules Language parser.
+ Shape Rules Language parser.
When tokenizing the input and choosing grammar rules, the longest match is chosen.
- The Shapes Rules Language grammar is LL(1) and LALR(1) when the rules with uppercased names
+ The Shape Rules Language grammar is LL(1) and LALR(1) when the rules with uppercased names
are used as terminals.
@@ -2373,11 +2376,11 @@
Selected Terminal Literal Strings
-
Internet Media Type, File Extension and Macintosh File Type
+
Internet Media Type and File Extension
The Internet Media Type (formerly known as MIME Type) for the
- Shapes Rules Language is
+ Shape Rules Language is
"application/shape-rules".
@@ -2415,7 +2418,7 @@
Internet Media Type, File Extension and Macintosh File Type
Encoding considerations:
- The syntax of the SHACL Rules Language is expressed over code points in Unicode
+ The syntax of the Shape Rules Language is expressed over code points in Unicode
[[UNICODE]]. The encoding is always UTF-8 [[RFC3629]].
Unicode code points may also be expressed using an \uXXXX (U+0 to U+FFFF) or
\UXXXXXXXX syntax (for U+10000 onwards) where X is a hexadecimal digit [0-9A-F]