Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
190 commits
Select commit Hold shift + click to select a range
5498be5
minor editorial change
VladimirAlexiev Aug 5, 2025
8243c01
plantuml version of diagram
VladimirAlexiev Aug 5, 2025
3de3e44
add manual `<color>` and `<u>` tags to class names
VladimirAlexiev Aug 5, 2025
01b4b1b
add manual `<color>` and `<u>` tags to class names
VladimirAlexiev Aug 5, 2025
138b174
Update shacl12-core/images/SHACL-UML.puml
VladimirAlexiev Aug 6, 2025
b991942
Update shacl12-core/images/SHACL-UML.puml
VladimirAlexiev Aug 6, 2025
72e0ff6
- sh:order: xsd:integer or xsd:decimal
VladimirAlexiev Aug 7, 2025
1ef8993
add <color:blue><u> to PropertyGroup
VladimirAlexiev Aug 7, 2025
01fe8a2
replace textual diagram with PlantUML SVG diagram
VladimirAlexiev Aug 7, 2025
367e5a1
replace <img> with script that embeds SVG content
VladimirAlexiev Aug 7, 2025
e790e73
Merge branch 'w3c:gh-pages' into gh-pages
VladimirAlexiev Aug 7, 2025
8ade893
Merge branch 'w3c:gh-pages' into gh-pages
VladimirAlexiev Aug 11, 2025
620c4c9
Merge branch 'w3c:gh-pages' into gh-pages
VladimirAlexiev Aug 22, 2025
2c4f8b4
add core-components-list (3 fields), sh:targetWhere, sh:codeIdentifie…
VladimirAlexiev Oct 17, 2025
2770f32
restore link to PropertyGroup
VladimirAlexiev Oct 17, 2025
c9ab45c
Merge branch 'w3c:gh-pages' into gh-pages
VladimirAlexiev Oct 23, 2025
8d3d823
fixes #163
VladimirAlexiev Oct 23, 2025
b2f95c1
plantuml version of diagram
VladimirAlexiev Aug 5, 2025
bf6370e
add manual `<color>` and `<u>` tags to class names
VladimirAlexiev Aug 5, 2025
7b8e661
add manual `<color>` and `<u>` tags to class names
VladimirAlexiev Aug 5, 2025
2149bd5
Update shacl12-core/images/SHACL-UML.puml
VladimirAlexiev Aug 6, 2025
68f2723
Update shacl12-core/images/SHACL-UML.puml
VladimirAlexiev Aug 6, 2025
e62ae65
- sh:order: xsd:integer or xsd:decimal
VladimirAlexiev Aug 7, 2025
16a8d75
add <color:blue><u> to PropertyGroup
VladimirAlexiev Aug 7, 2025
46821b5
replace textual diagram with PlantUML SVG diagram
VladimirAlexiev Aug 7, 2025
b9b7536
replace <img> with script that embeds SVG content
VladimirAlexiev Aug 7, 2025
3eeff71
add core-components-list (3 fields), sh:targetWhere, sh:codeIdentifie…
VladimirAlexiev Oct 17, 2025
a258c1e
restore link to PropertyGroup
VladimirAlexiev Oct 17, 2025
df73bc2
fixes #163
VladimirAlexiev Oct 23, 2025
84e6819
Resolved rebase conflicts
robert-david Feb 6, 2026
018c654
added sh:conformanceDisallows, updated conformance-definition
bergos Sep 1, 2025
d9cf02b
improved conformance definition language, fixed tabs vs. spaces
bergos Sep 1, 2025
74fccdc
added not about def conformance disallow set, updated severity section
bergos Sep 2, 2025
28d5e38
Apply suggestions from code review
bergos Sep 7, 2025
37458a0
improved naming for conformance-disallow set, describe default set
bergos Sep 7, 2025
0c88e8b
Update shacl12-core/index.html
bergos Sep 9, 2025
64b3f1a
added conformanceDisallows to changes section
bergos Sep 9, 2025
2a00dc5
Add tests demonstrating conformanceDisallows
ajnelson-nist Sep 9, 2025
3d319cd
Update shacl12-core/index.html
YoucTagh Sep 26, 2025
6590218
Update shacl12-core/index.html
YoucTagh Sep 26, 2025
95c14bd
Update shacl12-core/index.html
YoucTagh Sep 26, 2025
6090a07
#614: Attempt to work around outdated W3C validator complaints (#621)
HolgerKnublauch Oct 27, 2025
dcb48c8
move to local copies of CSS files (#628)
nicholascar Oct 29, 2025
3bcfe53
Added style.css to core too
HolgerKnublauch Oct 30, 2025
3234897
Issue 534: Support for property paths in SHACL UI (#600)
smessie Oct 30, 2025
f317cfe
#629 (#630)
HolgerKnublauch Oct 30, 2025
77b25fa
copied datashapes.org widgets to ui spec
bergos Sep 9, 2025
46ff0d5
fixed widget anchor links
bergos Sep 9, 2025
546878a
updated dash namespaces to shui
bergos Sep 9, 2025
7dd76e7
removed TQ specific text, small cleanup
bergos Sep 9, 2025
230c4bd
Apply suggestions from code review
bergos Oct 5, 2025
e2254f4
change ui widget score to ul lists
bergos Oct 12, 2025
e0f1856
improved wording
bergos Oct 14, 2025
5b2b4b1
Update shacl12-ui/index.html
bergos Oct 14, 2025
e71ecc6
Update shacl12-ui/index.html
bergos Oct 25, 2025
aa55b3a
Update shacl12-ui/index.html
bergos Oct 25, 2025
4fdc66d
Update shacl12-ui/index.html
bergos Oct 25, 2025
f8330f4
Update shacl12-ui/index.html
bergos Oct 25, 2025
3915c34
made letter after rendering capital in ui spec
bergos Oct 25, 2025
10f5e9b
Update shacl12-ui/index.html
bergos Nov 2, 2025
66d3326
#209: Added clarifying paragraph that node shapes should use rdfs:lab…
HolgerKnublauch Nov 3, 2025
2061bfa
minor updates to show use of definitions
nicholascar Oct 9, 2025
e8de6e6
tidy editors, add alex
nicholascar Oct 9, 2025
2b52407
HTML reformat; packaging section addition; terminology listing updates
nicholascar Oct 10, 2025
538e1ce
conformance section
nicholascar Oct 13, 2025
7f6591b
ontology containers
nicholascar Oct 13, 2025
f38a07a
typo
nicholascar Oct 13, 2025
77f7976
typo
nicholascar Oct 13, 2025
18a5299
file + ontology IRI note
nicholascar Oct 15, 2025
0afef6a
remove static defined term listing - use index auto list
nicholascar Oct 15, 2025
961c9db
move Spec Profiles to Appendix
nicholascar Oct 15, 2025
1c2f87c
add in ref to US issues
nicholascar Oct 24, 2025
db29312
inc UCs in rec section
nicholascar Oct 25, 2025
ead7bf8
up to dependency calcs
nicholascar Oct 25, 2025
c6d1212
link calc deps to motivation
nicholascar Oct 25, 2025
5c81b77
Update shacl12-profiling/index.html
nicholascar Oct 30, 2025
4b220d5
apply several of Ted's changes
nicholascar Oct 30, 2025
29e0f66
further application of Ted's changes
nicholascar Oct 30, 2025
ef2d494
Update shacl12-profiling/index.html
nicholascar Oct 30, 2025
4417e8d
Update shacl12-profiling/index.html
nicholascar Oct 30, 2025
9f17007
Update shacl12-profiling/index.html
nicholascar Oct 30, 2025
38025b2
Update shacl12-profiling/index.html
nicholascar Nov 3, 2025
388bd58
Update shacl12-profiling/index.html
nicholascar Nov 3, 2025
037955c
Update shacl12-profiling/index.html
nicholascar Nov 3, 2025
c737887
Update shacl12-profiling/index.html
nicholascar Nov 4, 2025
d7db6db
update to match Matt's previous comment
nicholascar Nov 4, 2025
e355e15
Update shacl12-profiling/index.html
nicholascar Nov 6, 2025
3ac84da
tidy shape example id
nicholascar Nov 6, 2025
81f1a96
Fix ReSpec display errors
nicholascar Nov 6, 2025
3742f4e
Add 'sh:resultMessage' to some tests (#642)
MPvHarmelen Nov 10, 2025
06d9bce
GH-587: shnex:nodesWhere node expression (#611)
HolgerKnublauch Nov 11, 2025
a733fbe
Add property roles section
edmondchuc Nov 17, 2025
df1b70e
Apply suggestion from @bergos and @TallTed
edmondchuc Nov 18, 2025
219ddf6
Apply suggestion from @bergos and @TallTed
edmondchuc Nov 18, 2025
6eb67d3
Apply @TallTed suggestions from code review
edmondchuc Nov 18, 2025
7d2bb51
Apply suggestions from code review
edmondchuc Nov 21, 2025
4357bb3
add note about RDF model compatibility
edmondchuc Nov 21, 2025
40b3126
Update shacl12-ui/index.html
edmondchuc Nov 24, 2025
1ae049a
Update shacl12-ui/index.html
edmondchuc Nov 24, 2025
860391b
#653: Fixed broken link
HolgerKnublauch Nov 17, 2025
0628ab3
Replaced duplicate conform with conforms
HolgerKnublauch Nov 17, 2025
bb35fac
#455: Integrate SPARQL Functions (#511)
simonstey Nov 18, 2025
49790c0
Bump js-yaml from 4.1.0 to 4.1.1 in /scripts
dependabot[bot] Nov 18, 2025
367b6f4
#647: Added at risk issue to pre-binding (#656)
HolgerKnublauch Nov 20, 2025
d2d5c1b
fix: #646 removed severity count, aligned violation naming
bergos Nov 22, 2025
a522739
#648: Moved table of severities below syntax rules, added fallback fo…
HolgerKnublauch Nov 25, 2025
ee4a4d2
chore: #663 moved built-in widget to separate section
bergos Nov 22, 2025
e1a51dd
Update shacl12-ui/index.html
bergos Nov 25, 2025
4bbb693
Add new team member Daniel Beeke to index.html
danielbeeke Nov 26, 2025
c059b2c
Fix for description of SHACL-SPARQL
afs Nov 27, 2025
0180032
Replace partial use of tabs by spaces
afs Nov 27, 2025
e044f32
#496: Replaced shnex and shui namespaces (#681)
HolgerKnublauch Dec 1, 2025
548656c
Definitions for rule set evaluation
afs Nov 25, 2025
31ecdf8
Negation syntax: NOT
afs Nov 25, 2025
2fb149c
Update shacl12-rules/shacl-rules.ttl
afs Nov 27, 2025
046a4f5
Updates from review of shacl12-rules/index.html
afs Nov 27, 2025
f0420bc
shnex: namespace
afs Dec 1, 2025
bc365fc
Placeholders for SHACL Rules tests
afs Dec 1, 2025
7488c96
Update index.html
caribouW3 Dec 4, 2025
7a1e12f
Update specifications.html
caribouW3 Dec 4, 2025
f0a62cb
#645: [UI] added terminology
bergos Nov 17, 2025
c38accd
Update shacl12-ui/index.html
bergos Nov 25, 2025
4ea42eb
Update shacl12-ui/index.html
bergos Nov 25, 2025
647c6bb
Update shacl12-ui/index.html
bergos Nov 25, 2025
6279c47
Update shacl12-ui/index.html
bergos Dec 6, 2025
44cd182
add a note for test suite conformance
YoucTagh Oct 3, 2025
b4ff521
#594: moved the note about the test suite to a shared document
YoucTagh Dec 4, 2025
d8fe948
#594: use the link of the new test suite
YoucTagh Dec 8, 2025
763750d
#649: Fixed definitions to singular, added uniqueness (#668)
HolgerKnublauch Dec 9, 2025
20f3de6
Correct links
afs Dec 9, 2025
ab1fb9b
#650: Added link to VarExpression to clarify what "variable" means he…
HolgerKnublauch Dec 9, 2025
155ab53
refactor: rename union/minus node expressions to join/remove in node …
simonstey Dec 10, 2025
447959b
#649: Added link to #defn_sparqlSolutionMapping (#695)
HolgerKnublauch Dec 10, 2025
3628e8e
Initial SRL tests
afs Dec 6, 2025
1f72f3d
Several formatting fixes and improvements (#696)
HolgerKnublauch Dec 11, 2025
878a7f0
Set spec locations to www.w3.org/TR/
afs Dec 11, 2025
a27d9ba
fix KurrawongAI links
nicholascar Dec 15, 2025
1b10b6e
improve the SHACL-SHACL links - using shacl-shacl namespace URI
nicholascar Dec 4, 2025
a65f4f2
give profile definitions
nicholascar Dec 4, 2025
d23ca5b
creating other profiles
nicholascar Dec 4, 2025
18a6d3e
start of profile hierarchies
nicholascar Dec 4, 2025
70c91d2
profiling standards & data placeholders
nicholascar Dec 4, 2025
bc5ea42
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
064fa91
Update shacl12-overview/index.html
nicholascar Dec 15, 2025
3339140
Update shacl12-overview/index.html
nicholascar Dec 15, 2025
d6caa6f
Update shacl12-overview/index.html
nicholascar Dec 15, 2025
e565df5
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
9ac5367
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
9da25cc
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
bcdc7d0
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
493129f
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
0fc9efe
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
45c139b
Update shacl12-profiling/index.html
nicholascar Dec 15, 2025
4977443
#665: Added links to definition of validation result (#686)
robert-david Feb 9, 2026
99162c4
#703: Fixed plural in rdfs:comment of sh:NodeShape (#705)
HolgerKnublauch Dec 25, 2025
d4f8d1f
Update index.html (#714)
caribouW3 Jan 5, 2026
061d318
Update index.html
caribouW3 Jan 5, 2026
e0380e3
Update index.html
caribouW3 Jan 5, 2026
aa1b226
use respec dfn syntax for links to other specs (#715)
caribouW3 Jan 5, 2026
1f2341e
Update index.html
caribouW3 Jan 5, 2026
d5e777c
#702: Changed definition of sh:deactivated to mean "ignored" or skipp…
HolgerKnublauch Jan 5, 2026
a4394a0
#712: Switched to sh:targetClass, added note on how to handle this te…
HolgerKnublauch Jan 5, 2026
f80eb38
Issue 706: Rewritten Abstract (#716)
HolgerKnublauch Jan 12, 2026
6bbf2e4
#709: Added sh:unit property (#717)
HolgerKnublauch Jan 13, 2026
121f1bc
Update rule grammar
afs Jan 14, 2026
98ce783
Remove Rule3 rule form (SRL)
afs Jan 14, 2026
dafc938
#491: Added node expression test cases and clarified spec in two plac…
HolgerKnublauch Jan 16, 2026
a99a51a
Bump undici and @rdfjs/serializer-jsonld-ext in /scripts
dependabot[bot] Jan 20, 2026
222b257
Issue 723 724 (#738)
HolgerKnublauch Jan 26, 2026
ee6c3f9
Bump lodash from 4.17.21 to 4.17.23 in /scripts
dependabot[bot] Jan 27, 2026
bfdebba
Create auto-publish-shacl12-rules.yml
caribouW3 Jan 26, 2026
2532618
Revert "Create auto-publish-shacl12-rules.yml"
caribouW3 Jan 27, 2026
01d8d64
Auto-publish for rules and node-expr
afs Jan 27, 2026
8ace8de
* #676: Rewrote security section and used MUST for now
HolgerKnublauch Jan 28, 2026
35f57f0
GH-728: Inference graph
afs Jan 25, 2026
8c2fec0
Apply suggestion from @simonstey
simonstey Jan 29, 2026
4ea7a61
#276: Fixed prefix declarations in test cases and adjusted examples t…
HolgerKnublauch Jan 30, 2026
d1bebc1
Issue 737 (#750)
HolgerKnublauch Jan 31, 2026
a59ae1b
#657: Clarified that members of list must be literals/IRIs and the sa…
HolgerKnublauch Feb 2, 2026
ff549e9
GH-743: Remove some SRL functions
afs Jan 28, 2026
e56c512
More SHACL Rules syntax tests
afs Jan 24, 2026
e24c215
Wellformedness, stratification, eval tests
afs Jan 25, 2026
ae93761
RDF domain and range eval tests
afs Jan 27, 2026
bf87aa7
Revise SHACL 1.2 Profiling abstract
YoucTagh Feb 5, 2026
3eac54a
Define negation element evaluation
afs Jan 28, 2026
7a2a755
replace <img> with script that embeds SVG content
VladimirAlexiev Aug 7, 2025
d2cd519
plantuml version of diagram
VladimirAlexiev Aug 5, 2025
aa0b365
Reset to gh-pages version
robert-david Feb 9, 2026
8ddce65
Removed redundant text
robert-david Feb 9, 2026
7a393be
Merge branch 'gh-pages' into issue-163-PATH
robert-david Feb 9, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions shacl12-core/images/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
all: SHACL-UML.svg

%.svg: %.puml
plantuml -Tsvg $^
66 changes: 66 additions & 0 deletions shacl12-core/images/SHACL-UML.puml
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
@startuml
hide circles
hide empty members
skinparam pathHoverColor red ' on cover, highlight blue links as red
' skinparam topurl https://raw.githack.com/w3c/data-shapes/master/shacl12-core/index.html ' links resolve to anchors in current HTML page, when the SVG is embedded

class "<color:blue><u>sh:Shape" as Shape [[#shapes]] {
[[#targetClass sh:targetClass]] : rdfs:Class
[[#targetNode sh:targetNode]] : any
[[#targetSubjectsOf sh:targetSubjectsOf]] : rdf:Property
[[#targetObjectsOf sh:targetObjectsOf]] : rdf:Property
[[#targetWhere sh:targetWhere]] : sh:NodeShape
....
[[#deactivated sh:deactivated]] : xsd:boolean
[[#message sh:message]] : xsd:string or rdf:langString
[[#severity sh:severity]] : sh:Severity
}

class "<color:blue><u>sh:NodeShape" as NodeShape [[#node-shapes]] {
[[#constraints Constraint parameters]], for example:
[[#NodeKindConstraintComponent sh:nodeKind]] a sh:NodeKind
[[#ClosedConstraintComponent sh:closed]] : xsd:boolean or [[#syntax-rule-closed-datatype sh:ByTypes]]
[[#ClosedConstraintComponent sh:ignoredProperties]] : list
[[#OrConstraintComponent sh:or]], [[#AndConstraintComponent sh:and]], [[#XoneConstraintComponent sh:xone]] : list of Shape
[[#NotConstraintComponent sh:not]] : [[#shapes sh:Shape]]
...
}

class "<color:blue><u>sh:PropertyShape" as PropertyShape [[#property-shapes]] {
[[#property-paths sh:path]] : predicate or list or blank node
....
[[#constraints Constraint parameters]], for example:
[[#MinCountConstraintComponent sh:minCount]], [[#MaxCountConstraintComponent sh:maxCount]] : xsd:integer
[[#MinLengthConstraintComponent sh:minLength]], [[#MaxLengthConstraintComponent sh:maxLength]] : xsd:integer
[[#ClassConstraintComponent sh:class]] or [[#DatatypeConstraintComponent sh:datatype]] : IRI or list of IRIs
[[#NodeConstraintComponent sh:node]] : [[#node-shapes sh:NodeShape]]
...
....
[[#core-components-list List constraints]]
[[#MemberShapeConstraintComponent sh:memberShape]] : [[#node-shapes sh:NodeShape]]
[[#MinListLengthConstraintComponent sh:minListLength]], [[#MaxListLengthConstraintComponent sh:maxListLength]]: xsd:integer
[[#UniqueMembersConstraintComponent sh:uniqueMembers]] : xsd:boolean
....
[[#name sh:name]] : xsd:string or rdf:langString
[[#description sh:description]] : xsd:string or rdf:langString
[[#syntax-rule-path-defaultValue sh:defaultValue]] : any
[[#syntax-rule-path-defaultValue sh:values]] : any
[[#codeIdentifier sh:codeIdentifier]] : xsd:string
[[#order sh:order]] : xsd:integer or xsd:decimal
}

class "<color:blue><u>sh:PropertyGroup" as PropertyGroup [[#group sh:group]] {
[[#group sh:order]] : xsd:integer or xsd:decimal
... eg rdfs:label
}

Shape <|-- NodeShape
Shape <|-- PropertyShape
NodeShape -> PropertyShape : [[#property-shapes sh:property]] *
PropertyShape --> PropertyGroup : [[#group sh:group]]

' These links make the diagram too busy, so omit them for now. They are listed as fields
' PropertyShape -> NodeShape : [[#NodeConstraintComponent sh:node]]
' PropertyShape -> NodeShape : [[#MemberShapeConstraintComponent sh:memberShape]]
' Shape -> NodeShape : [[#targetWhere sh:targetWhere]]
@enduml
1 change: 1 addition & 0 deletions shacl12-core/images/SHACL-UML.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
105 changes: 98 additions & 7 deletions shacl12-core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -864,7 +864,7 @@ <h2>Shapes and Constraints</h2>

<p><em>The following introduction is non-normative.</em></p>
<p>
The following informal diagram provides an overview of some of the key classes in the SHACL vocabulary.
The following UML diagram provides an overview of some of the key classes and properties in the SHACL vocabulary.
Each box represents a class.
The boxes under the class name list a small subset of the frequently used properties
that instances of these classes may have, together with their value types.
Expand Down Expand Up @@ -927,11 +927,16 @@ <h2>Shapes and Constraints</h2>
</div>
<div style="clear: both"></div>
</div>
<p>
The <a href="http://www.w3.org/ns/shacl.ttl">Turtle serialization of the SHACL vocabulary</a> contains the complete SHACL vocabulary.
</p>
</div>

<p>
The content of the boxes under the class name lists some of the properties that instances of these classes may have, together with their value types.
Empty arrowheads indicate inheritance (<code>rdfs:subClassOf</code>) and normal arrowheads indicate RDF relations.
</p>
<div id="SHACL-UML.svg"></div>
Copy link
Copy Markdown
Contributor

@afs afs Feb 6, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is shacl12-core in this PR?

It's not right:

"Turtle serialization of the SHACL vocabulary" is repeated 3 times.

"The content of the boxes under the class name" occurs twice.

<div id="SHACL-UML.svg"></div> occurs twice.

<p>
The <a href="http://www.w3.org/ns/shacl.ttl">Turtle serialization of the SHACL vocabulary</a> contains the complete SHACL vocabulary.
</p>

<section id="shapes">

<h3>Shapes</h3>
Expand Down Expand Up @@ -2335,6 +2340,38 @@ <h3>Validation Report</h3>
]
] .
</div>
<div class="jsonld">
<pre class="jsonld">{
"@type": "sh:ValidationReport",
"sh:conformanceDisallows": {
"@id": "sh:Violation"
},
"sh:conforms": {
"@type": "xsd:boolean",
"@value": "true"
},
"sh:result": {
"@type": "sh:ValidationResult",
"sh:focusNode": {
"@id": "ex:Bob"
},
"sh:resultMessage": "ex:age expects a literal of datatype xsd:integer.",
"sh:resultPath": {
"@id": "ex:age"
},
"sh:resultSeverity": {
"@id": "sh:Warning"
},
"sh:sourceConstraintComponent": {
"@id": "sh:DatatypeConstraintComponent"
},
"sh:sourceShape": {
"@id": "ex:PersonShape-age"
},
"sh:value": "twenty two"
}
}</pre>
</div>
</div>
</aside>
<p>
Expand All @@ -2359,6 +2396,38 @@ <h3>Validation Report</h3>
]
] .
</div>
<div class="jsonld">
<pre class="jsonld">{
"@type": "sh:ValidationReport",
"sh:conformanceDisallows": {
"@id": "sh:Violation"
},
"sh:conforms": {
"@type": "xsd:boolean",
"@value": "false"
},
"sh:result": {
"@type": "sh:ValidationResult",
"sh:focusNode": {
"@id": "ex:Bob"
},
"sh:resultMessage": "ex:age expects a literal of datatype xsd:integer.",
"sh:resultPath": {
"@id": "ex:age"
},
"sh:resultSeverity": {
"@id": "sh:Violation"
},
"sh:sourceConstraintComponent": {
"@id": "sh:DatatypeConstraintComponent"
},
"sh:sourceShape": {
"@id": "ex:PersonShape-age"
},
"sh:value": "twenty two"
}
}</pre>
</div>
</div>
</aside>

Expand Down Expand Up @@ -5788,5 +5857,27 @@ <h2>Changes between the original SHACL Core and SHACL 1.2 Core</h2>
<li>Added support for `rdf:dirLangString` to <a href="#UniqueLangConstraintComponent"></a>, see <a href="https://github.com/w3c/data-shapes/issues/737">Issue 737</a></li>
</ul>
</section>
</body>
</html>


<script type="text/javascript">

// tooltip = "Targets are not the only way to initiate validation, SHACL also allows specific nodes to be validated against specific shapes.";
// var t = document.getElementsByClassName("target-can-be-skipped");
// for (var i = 0; i < t.length; i++) {
// t[i].title = tooltip;
// };

// Load and inline SVG diagram
// TODO: add desc="UML class diagram for SHACL showing Shape, NodeShape, PropertyShape, PropertyGroup" for accessibility
fetch('images/SHACL-UML.svg')
.then(response => response.text())
.then(svgText => {
const container = document.getElementById('SHACL-UML.svg');
container.innerHTML = svgText;
});
</script>




</body></html>
17 changes: 11 additions & 6 deletions shacl12-profiling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,16 @@
graph.append(tabs)
}

// Generate buttons for the selection logic
for (const tabs of document.querySelectorAll(".ds-selector-tabs")) {
const selectors = document.createElement("div");
selectors.classList.add("selectors");
selectors.innerHTML = `
// Generate buttons for the selection logic
for (const tabs of document.querySelectorAll(".ds-selector-tabs")) {
const selectors = document.createElement("div");
selectors.classList.add("selectors");

// Check if JSON-LD or shaclc div exists in this tab group
const hasJsonld = tabs.querySelector(".jsonld");
const hasShaclc = tabs.querySelector(".shaclc");

selectors.innerHTML = `
<button class="selected" data-selects="turtle">Turtle</button>
${hasJsonld ? '<button data-selects="jsonld">JSON-LD</button>' : ''}
${hasShaclc ? '<button data-selects="shaclc">SHACL-C</button>' : ''}
Expand Down Expand Up @@ -1251,4 +1256,4 @@ <h3>Specification Profiles Listing</h3>
When a set of SHACL information is contained within an <code>owl:Ontology</code>, it may be useful to identify the
graph used to package the content within a graph using the same IRI as the ontology.
</p>
-->
-->
8 changes: 3 additions & 5 deletions shacl12-sparql/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -665,7 +665,7 @@ <h3>Syntax of SPARQL-based Constraints</h3>
and this value is either <code>true</code> or <code>false</code>.
</p>
<p>
SELECT queries used in the context of <a>property shapes</a> use a special variable named <code>PATH</code> as a placeholder for the path used by the shape.
SELECT queries used in the context of <a>property shapes</a> use a special variable named <code>PATH</code> (spelled in UPPERCASE) as a placeholder for the path used by the shape.
</p>
<p class="syntax">
<span data-syntax-rule="PATH-position">The only legal use of the variable <code>PATH</code> in the SPARQL queries of <a>SPARQL-based constraints</a>
Expand Down Expand Up @@ -1284,10 +1284,8 @@ <h3>Validation with SPARQL-based Constraint Components</h3>
<li>
For <a>SELECT-based validators</a>:
If the <a>shape</a> is a <a>property shape</a>, then prior to execution
<a>substitute</a> the variable <code>PATH</code> where it appears in the <a>predicate</a>
position of a <a data-cite="sparql12-query/#QSynTriples">triple pattern</a>
with a valid SPARQL surface syntax string of the <a>SHACL property path</a>
specified via <code>sh:path</code> at the <a>property shape</a>.
<a>substitute</a> the variable <code>PATH</code> with a valid SPARQL surface syntax string of the <a>SHACL property path</a>
(see the reference "<a>substitute</a>" for details).
Let <code>QS</code> be the <a>solutions</a> produced by executing the SPARQL query.
</li>
</ul>
Expand Down