Skip to content

Commit 3608854

Browse files
Fixed broken references to <dfn> definitions (#578)
1 parent dec8171 commit 3608854

File tree

2 files changed

+50
-51
lines changed

2 files changed

+50
-51
lines changed

shacl12-core/index.html

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ <h3>Terminology</h3>
266266
<div class="term-def-header">Property Value and Path</div>
267267
<div>
268268
A <dfn data-lt="properties">property</dfn> is an <a>IRI</a>.
269-
An <a>RDF term</a> <code>n</code> has a <dfn data-lt="values|property value|property values">value</dfn> <code>v</code>
269+
An <a>RDF term</a> <code>n</code> has a <dfn data-lt="value|values|property value|property values">value</dfn> <code>v</code>
270270
for property <code>p</code> in an <a>RDF graph</a> if there is an <a>RDF triple</a> in the graph
271271
with <a>subject</a> <code>n</code>, <a>predicate</a> <code>p</code>, and <a>object</a> <code>v</code>.
272272
The phrase "Every value of P in graph G ..." means "Every object of a triple in G with predicate P ...".
@@ -282,14 +282,14 @@ <h3>Terminology</h3>
282282
<div class="def">
283283
<div class="term-def-header">SHACL Lists</div>
284284
<div>
285-
<span data-syntax-rule="SHACL-list">A <dfn data-lt="SHACL lists">SHACL list</dfn> in an RDF graph <code>G</code> is an <a>IRI</a> or a <a>blank node</a>
285+
<span data-syntax-rule="SHACL-list">A <dfn>SHACL list</dfn> in an RDF graph <code>G</code> is an <a>IRI</a> or a <a>blank node</a>
286286
that is either <code>rdf:nil</code> (provided that <code>rdf:nil</code> has no <a>value</a>
287287
for either <code>rdf:first</code> or <code>rdf:rest</code>), or has exactly one <a>value</a>
288288
for the property <code>rdf:first</code> in <code>G</code> and exactly one <a>value</a>
289289
for the property <code>rdf:rest</code> in <code>G</code> that is also a SHACL list in <code>G</code>,
290290
and the list does not have itself as a value of the property path <code>rdf:rest+</code> in <code>G</code>.</span>
291291
<br>
292-
The <dfn data-lt="member">members</dfn> of any SHACL list except <code>rdf:nil</code> in an RDF
292+
The <dfn data-lt="members|member">members</dfn> of any SHACL list except <code>rdf:nil</code> in an RDF
293293
graph <code>G</code> consist of its value for <code>rdf:first</code> in <code>G</code> followed by
294294
the members in <code>G</code> of its value for <code>rdf:rest</code> in <code>G</code>.
295295
The SHACL list <code>rdf:nil</code> has no members in any RDF graph.
@@ -1199,7 +1199,7 @@ <h3>Constraints, Parameters and Constraint Components</h3>
11991199
</p>
12001200
<p>
12011201
For a <a>constraint component</a> <code>C</code> with <a>mandatory parameters</a> <code>p1</code>, ... <code>pn</code>,
1202-
a <a>shape</a> <code>s</code> in a <a>shapes graph</a> <code>SG</code> <em>declares</em> a <dfn data-lt="constraints">constraint</dfn>
1202+
a <a>shape</a> <code>s</code> in a <a>shapes graph</a> <code>SG</code> <em>declares</em> a <dfn>constraint</dfn>
12031203
that has <dfn>kind</dfn> <code>C</code> with <a>mandatory parameter</a> <a>values</a> <code>&lt;p1,v1&gt;</code>, ... <code>&lt;pn,vn&gt;</code>
12041204
in <code>SG</code> when <code>s</code> has <code>vi</code> as a <a>value</a> for <code>pi</code> in <code>SG</code>.
12051205
For constraint components with <a>optional parameters</a>, the constraint declaration consists of the <a>values</a> that the shape has for all mandatory and optional parameters of that component.
@@ -1294,7 +1294,7 @@ <h3>Constraints, Parameters and Constraint Components</h3>
12941294
}</pre></div></div>
12951295
</aside>
12961296
<p>
1297-
Constraint components are associated with <dfn data-lt="validator|validators">validators</dfn>, which provide instructions (for example expressed via SPARQL queries)
1297+
Constraint components are associated with <dfn>validators</dfn>, which provide instructions (for example expressed via SPARQL queries)
12981298
on how the parameters are used to validate data.
12991299
Validating an <a>RDF term</a> against a <a>shape</a> involves validating the term against each <a>constraint</a> where the
13001300
shape has <a>values</a> for all <a>mandatory parameters</a> of the <a>component</a> of the <a>constraint</a>,
@@ -1309,7 +1309,7 @@ <h3>Constraints, Parameters and Constraint Components</h3>
13091309
<section id="focusNodes">
13101310
<h3>Focus Nodes</h3>
13111311
<p>
1312-
An <a>RDF term</a> that is <a>validated</a> against a <a>shape</a> using the triples from a <a>data graph</a> is called a <dfn data-lt="focus node|focus nodes">focus node</dfn>.
1312+
An <a>RDF term</a> that is <a>validated</a> against a <a>shape</a> using the triples from a <a>data graph</a> is called a <dfn>focus node</dfn>.
13131313
</p>
13141314
<p><em>The remainder of this section is informative.</em></p>
13151315
<p>
@@ -1330,7 +1330,7 @@ <h3>Targets</h3>
13301330
<a>triples</a> with the <a>shape</a> as the <a>subject</a> and certain properties described in this document
13311331
(e.g., <code>sh:targetClass</code>) as <a>predicates</a>.
13321332
Target declarations can be used to produce <a>focus nodes</a> for a <a>shape</a>.
1333-
The <dfn data-lt="targets">target</dfn> of a <a>target declaration</a> is the set of RDF terms produced
1333+
The <dfn>target</dfn> of a <a>target declaration</a> is the set of RDF terms produced
13341334
by applying the rules described in the remainder of this section to the <a>data graph</a>.
13351335
The <dfn data-lt="target of the shape">target of a shape</dfn> is the union of all RDF terms produced by the individual
13361336
<a>targets</a> that are declared by the <a>shape</a> in the <a>shapes graph</a>.
@@ -2201,7 +2201,7 @@ <h4>Deactivating Shapes and Constraints</h4>
22012201
<section id="node-shapes">
22022202
<h3>Node Shapes</h3>
22032203
<p class="syntax">
2204-
A <dfn data-lt="node shapes">node shape</dfn> is a <a>shape</a> in the <a>shapes graph</a> that
2204+
A <dfn>node shape</dfn> is a <a>shape</a> in the <a>shapes graph</a> that
22052205
is not the <a>subject</a> of a <a>triple</a> with <code>sh:path</code> as its <a>predicate</a>.
22062206
It is recommended, but not required, for a <a>node shape</a> to be declared as a <a>SHACL instance</a> of <code>sh:NodeShape</code>.
22072207
<span data-syntax-rule="NodeShape-path-maxCount"><a>SHACL instances</a> of <code>sh:NodeShape</code> cannot have a <a>value</a> for the property <code>sh:path</code>.</span>
@@ -2215,7 +2215,7 @@ <h3>Node Shapes</h3>
22152215
<section id="property-shapes">
22162216
<h3>Property Shapes</h3>
22172217
<p class="syntax">
2218-
<span data-syntax-rule="PropertyShape">A <dfn data-lt="property shapes">property shape</dfn> is a <a>shape</a> in the <a>shapes graph</a>
2218+
<span data-syntax-rule="PropertyShape">A <dfn>property shape</dfn> is a <a>shape</a> in the <a>shapes graph</a>
22192219
that is the <a>subject</a> of a <a>triple</a> that has <code>sh:path</code> as its <a>predicate</a>.</span>
22202220
<span data-syntax-rule="path-maxCount">A shape has at most one <a>value</a> for <code>sh:path</code>.</span>
22212221
<span data-syntax-rule="path-node">The <a>value</a> of <code>sh:path</code> in a property shape is a <a>well-formed</a>
@@ -2342,10 +2342,10 @@ <h2>SHACL Property Paths</h2>
23422342
The following sub-sections provide syntax rules of <a>well-formed</a> <a>SHACL property paths</a>
23432343
together with mapping rules to <a href="https://www.w3.org/TR/sparql12-query/#pp-language">SPARQL 1.2 property paths</a>.
23442344
These rules define the <dfn>path mapping</dfn> <code>path(p,G)</code> in an RDF graph <code>G</code> of an RDF term <code>p</code> that is a SHACL property path in <code>G</code>.
2345-
Two SHACL property paths are considered <dfn data-lt="equivalent path">equivalent paths</dfn> when they map to the exact same SPARQL property paths.
2345+
Two SHACL property paths are considered <dfn>equivalent paths</dfn> when they map to the exact same SPARQL property paths.
23462346
</p>
23472347
<p class="syntax">
2348-
<span data-syntax-rule="path-metarule">A node in an RDF graph is a <a>well-formed</a> <dfn data-lt="SHACL property paths">SHACL property path</dfn> <code>p</code> if it satisfies exactly one of the syntax rules in the following sub-sections.</span>
2348+
<span data-syntax-rule="path-metarule">A node in an RDF graph is a <a>well-formed</a> <dfn>SHACL property path</dfn> <code>p</code> if it satisfies exactly one of the syntax rules in the following sub-sections.</span>
23492349
<span data-syntax-rule="path-non-recursive">A node <code>p</code> is not a <a>well-formed</a> SHACL property path if <code>p</code> is a blank node and any path mappings of <code>p</code> directly or transitively reference <code>p</code>.</span>
23502350
</p>
23512351
<p>
@@ -2642,7 +2642,7 @@ <h2>Validation and Graphs</h2>
26422642
<section id="shapes-graph">
26432643
<h3>Shapes Graph</h3>
26442644
<p>
2645-
A <dfn data-lt="shapes graphs">shapes graph</dfn> is an RDF graph containing zero or more shapes
2645+
A <dfn>shapes graph</dfn> is an RDF graph containing zero or more shapes
26462646
that is passed into a SHACL <a>validation</a> process so that a <a>data graph</a> can be validated against the shapes.
26472647
</p>
26482648
<p><em>The remainder of this section is informative.</em></p>
@@ -2660,7 +2660,7 @@ <h3>Shapes Graph</h3>
26602660
<section id="data-graph">
26612661
<h3>Data Graph</h3>
26622662
<p>
2663-
Any RDF graph can be a <dfn data-lt="data graphs">data graph</dfn>.
2663+
Any RDF graph can be a <dfn>data graph</dfn>.
26642664
</p>
26652665
<p><em>The remainder of this section is informative.</em></p>
26662666
<p>
@@ -2740,7 +2740,7 @@ <h3>Linking to shapes graphs (sh:shapesGraph)</h3>
27402740
<section id="validation-definition">
27412741
<h3>Validation</h3>
27422742
<p>
2743-
<dfn data-lt="validating|validates|validated|validate">Validation</dfn> is a mapping from some input
2743+
<dfn data-lt="validation|validating|validates|validated|validate">Validation</dfn> is a mapping from some input
27442744
to <a>validation results</a>, as defined in the following paragraphs.
27452745
</p>
27462746
<p>
@@ -2781,7 +2781,7 @@ <h3>Validation</h3>
27812781
<section id="failures">
27822782
<h4>Failures</h4>
27832783
<p>
2784-
<a>Validation</a> and <a>conformance checking</a> can result in a <dfn data-lt="failures">failure</dfn>.
2784+
<a>Validation</a> and <a>conformance checking</a> can result in a <dfn>failure</dfn>.
27852785
For example, a particular SHACL processor might allow recursive shapes but report a failure
27862786
if it detects a loop within the data.
27872787
Failures can also be reported due to resource exhaustion.
@@ -2829,7 +2829,7 @@ <h4>Handling of Recursive Shapes</h4>
28292829
in <code>G</code> if it has <code>s2</code> as <a>value</a> for some non-list-taking,
28302830
shape-expecting parameter of some constraint component or <code>s2</code> as a <a>member</a> of
28312831
the <a>value</a> for some list-taking, shape-expecting parameter of some constraint component.
2832-
A shape in an RDF graph <code>G</code> is a <dfn data-lt="recursive">recursive shape</dfn> in <code>G</code> if it is related to
2832+
A shape in an RDF graph <code>G</code> is a <dfn data-lt="recursive shape|recursive">recursive shape</dfn> in <code>G</code> if it is related to
28332833
itself by the transitive closure of the <a>refers</a> relationship in <code>G</code>.
28342834
</p>
28352835
<p>
@@ -2852,12 +2852,12 @@ <h4>Handling of Recursive Shapes</h4>
28522852
<section id="conformance-definition">
28532853
<h3>Conformance Checking</h3>
28542854
<p>
2855-
A <a>focus node</a> <dfn data-lt="conform|conformance">conforms</dfn> to a <a>shape</a> if and only if
2855+
A <a>focus node</a> <dfn data-lt="conforms|conform|conformance">conforms</dfn> to a <a>shape</a> if and only if
28562856
the set of result of the <a>validation</a> of the <a>focus node</a> against the <a>shape</a> does not contain any results with a severity level representing a violation and no <a>failure</a>
28572857
has been reported by it.
28582858
</p>
28592859
<p>
2860-
<dfn data-lt="conformance check">Conformance checking</dfn> produces <code>true</code> if and only if a given <a>focus node</a>
2860+
<dfn data-lt="conformance checking|conformance check">Conformance checking</dfn> produces <code>true</code> if and only if a given <a>focus node</a>
28612861
<a>conforms</a> to a given <a>shape</a>, and <code>false</code> otherwise.
28622862
</p>
28632863
<p id="conformance-nested">

shacl12-node-expr/index.html

Lines changed: 32 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -185,43 +185,42 @@ <h3>Terminology</h3>
185185
<div class="term-def-header">Basic SHACL Terminology</div>
186186
<div>
187187
This document uses the terms
188-
<dfn data-cite="shacl12-core#dfn-focus-node" data-lt="focus node|focus nodes">focus node</dfn>,
189-
<dfn data-cite="shacl12-core#dfn-value" data-lt="value">value</dfn>,
190-
<dfn data-cite="shacl12-core#dfn-value-node" data-lt="value node|value nodes">value node</dfn>,
191-
<dfn data-cite="shacl12-core#dfn-constraint" data-lt="constraint|constraints">constraint</dfn>,
192-
<dfn data-cite="shacl12-core#dfn-constraint-component" data-lt="constraint component|constraint components">constraint component</dfn>,
193-
<dfn data-cite="shacl12-core#dfn-parameter" data-lt="parameter|parameters">parameter</dfn>,
194-
<dfn data-cite="shacl12-core#dfn-mandatory-parameter" data-lt="mandatory parameter|mandatory parameters">mandatory parameter</dfn>,
195-
<dfn data-cite="shacl12-core#dfn-optional-parameter" data-lt="optional parameter|optional parameters">optional parameter</dfn>,
196-
<dfn data-cite="shacl12-core#dfn-parameter-value" data-lt="parameter value">parameter value</dfn>,
197-
<dfn data-cite="shacl12-core#dfn-shape" data-lt="shape|shapes">shape</dfn>,
198-
<dfn data-cite="shacl12-core#dfn-node-shape" data-lt="node shape|node shapes">node shape</dfn>,
199-
<dfn data-cite="shacl12-core#dfn-property-shape" data-lt="property shape|property shapes">property shape</dfn>,
200-
<dfn data-cite="shacl12-core#dfn-shacl-property-path" data-lt="shacl property path|shacl property paths">SHACL property path</dfn>,
201-
<dfn data-cite="shacl12-core#dfn-sparql-property-path" data-lt="sparql property path|sparql property paths">SPARQL property path</dfn>,
202-
<dfn data-cite="shacl12-core#dfn-data-graph" data-lt="data graph">data graph</dfn>,
203-
<dfn data-cite="shacl12-core#dfn-shapes-graph" data-lt="shapes graph">shapes graph</dfn>,
204-
<dfn data-cite="shacl12-core#dfn-target" data-lt="target|targets">target</dfn>,
205-
<dfn data-cite="shacl12-core#dfn-validators" data-lt="validator|validators">validator</dfn>,
206-
<dfn data-cite="shacl12-core#dfn-validation-result" data-lt="result|validation result">validation result</dfn>,
207-
<dfn data-cite="shacl12-core#dfn-node-expression" data-lt="node expression|node expresssions">node expression</dfn>,
208-
<dfn data-cite="shacl12-core#dfn-node-expression-function" data-lt="node expression function|node expresssion functions">node expression function</dfn>,
188+
<dfn data-cite="shacl12-core#dfn-focus-node">focus node</dfn>,
189+
<dfn data-cite="shacl12-core#dfn-value">value</dfn>,
190+
<dfn data-cite="shacl12-core#dfn-value-node">value node</dfn>,
191+
<dfn data-cite="shacl12-core#dfn-constraint">constraint</dfn>,
192+
<dfn data-cite="shacl12-core#dfn-constraint-component">constraint component</dfn>,
193+
<dfn data-cite="shacl12-core#dfn-parameter">parameter</dfn>,
194+
<dfn data-cite="shacl12-core#dfn-mandatory-parameter">mandatory parameter</dfn>,
195+
<dfn data-cite="shacl12-core#dfn-optional-parameter">optional parameter</dfn>,
196+
<dfn data-cite="shacl12-core#dfn-parameter-value">parameter value</dfn>,
197+
<dfn data-cite="shacl12-core#dfn-shape">shape</dfn>,
198+
<dfn data-cite="shacl12-core#dfn-node-shape">node shape</dfn>,
199+
<dfn data-cite="shacl12-core#dfn-property-shape">property shape</dfn>,
200+
<dfn data-cite="shacl12-core#dfn-shacl-property-path">SHACL property path</dfn>,
201+
<dfn data-cite="shacl12-core#dfn-data-graph">data graph</dfn>,
202+
<dfn data-cite="shacl12-core#dfn-shapes-graph">shapes graph</dfn>,
203+
<dfn data-cite="shacl12-core#dfn-target">target</dfn>,
204+
<dfn data-cite="shacl12-core#dfn-validators">validator</dfn>,
205+
<dfn data-cite="shacl12-core#dfn-validation-result" data-lt="validation result|result">validation result</dfn>,
206+
<dfn data-cite="shacl12-core#dfn-node-expression">node expression</dfn>,
207+
<dfn data-cite="shacl12-core#dfn-node-expression-function">node expression function</dfn>,
209208
<dfn data-cite="shacl12-core#dfn-function-name" data-lt="node expression function name">function name</dfn>,
210-
<dfn data-cite="shacl12-core#dfn-output-nodes" data-lt="output nodes">output nodes</dfn>,
211-
<dfn data-cite="shacl12-core#dfn-focus-graph" data-lt="focus graph">focus graph</dfn>,
209+
<dfn data-cite="shacl12-core#dfn-output-nodes">output nodes</dfn>,
210+
<dfn data-cite="shacl12-core#dfn-focus-graph">focus graph</dfn>,
212211
<dfn data-cite="shacl12-core#dfn-evaluation">evaluation</dfn>,
213212
<dfn data-cite="shacl12-core#dfn-evaluation-failure">evaluation failure</dfn>,
214-
<dfn data-cite="shacl12-core#dfn-conform" data-lt="conform|conforms">conform</dfn>,
215-
<dfn data-cite="shacl12-core#dfn-conformance-check" data-lt="conformance check">conformance check</dfn>,
216-
<dfn data-cite="shacl12-core#dfn-failure" data-lt="failure|failures">failure</dfn>,
213+
<dfn data-cite="shacl12-core#dfn-conforms" data-lt="conforms|conform">conforms</dfn>,
214+
<dfn data-cite="shacl12-core#dfn-conformance-checking" data-lt="conformance check">conformance checking</dfn>,
215+
<dfn data-cite="shacl12-core#dfn-failure">failure</dfn>,
217216
<dfn data-cite="shacl12-core#dfn-validation">validation</dfn>,
218-
<dfn data-cite="shacl12-core#dfn-shacl-instance" data-lt="shacl instance">SHACL instance</dfn>,
219-
<dfn data-cite="shacl12-core#dfn-shacl-subclass" data-lt="shacl subclass">SHACL subclass</dfn>,
220-
<dfn data-cite="shacl12-core#dfn-shacl-type" data-lt="shacl type">SHACL type</dfn>,
221-
<dfn data-cite="shacl12-core#dfn-shacl-list" data-lt="shacl list|shacl lists">SHACL list</dfn>,
222-
<dfn data-cite="shacl12-core#dfn-members" data-lt="members">members</dfn>,
223-
<dfn data-cite="shacl12-core#dfn-well-formed" data-lt="well-formed">well-formed</dfn>,
224-
<dfn data-cite="shacl12-core#dfn-deep-copy" data-lt="deep copy">deep copy</dfn>,
217+
<dfn data-cite="shacl12-core#dfn-shacl-instance">SHACL instance</dfn>,
218+
<dfn data-cite="shacl12-core#dfn-shacl-subclass">SHACL subclass</dfn>,
219+
<dfn data-cite="shacl12-core#dfn-shacl-type">SHACL type</dfn>,
220+
<dfn data-cite="shacl12-core#dfn-shacl-list">SHACL list</dfn>,
221+
<dfn data-cite="shacl12-core#dfn-members">members</dfn>,
222+
<dfn data-cite="shacl12-core#dfn-well-formed">well-formed</dfn>,
223+
<dfn data-cite="shacl12-core#dfn-deep-copy">deep copy</dfn>,
225224
as defined in the SHACL 1.2 Core specification [[!shacl12-core]].
226225
</div>
227226
</div>

0 commit comments

Comments
 (0)