From 5e8a9ebf78203dafdfab1ab20112727c4385696c Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Mon, 4 Aug 2025 14:17:16 -0400 Subject: [PATCH] #177: Update SHACL-SHACL to review sh:singleLine usage Some syntax style borrowed from Issue 449. References: * https://github.com/w3c/data-shapes/issues/449 Signed-off-by: Alex Nelson --- shacl12-vocabularies/shacl-shacl.ttl | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/shacl12-vocabularies/shacl-shacl.ttl b/shacl12-vocabularies/shacl-shacl.ttl index 31f7e7a5..facc11ec 100644 --- a/shacl12-vocabularies/shacl-shacl.ttl +++ b/shacl12-vocabularies/shacl-shacl.ttl @@ -76,6 +76,8 @@ shsh:ShapeShape sh:not, sh:or, sh:pattern, sh:property, sh:qualifiedMaxCount, sh:qualifiedMinCount, sh:qualifiedValueShape, sh:qualifiedValueShape, sh:qualifiedValueShapesDisjoint, sh:qualifiedValueShapesDisjoint, sh:uniqueLang, sh:xone, sh:minListLength, sh:maxListLength, sh:uniqueMembers ; + sh:targetSubjectsOf sh:singleLine ; + sh:targetObjectsOf sh:memberShape ; # memberShape-node sh:targetObjectsOf sh:node ; # node-node @@ -260,6 +262,11 @@ shsh:ShapeShape sh:maxCount 1 ; # multiple-parameters # Not implemented: syntax rule pattern-regex ] ; + sh:property [ + sh:path sh:singleLine ; + sh:datatype xsd:boolean ; # singleLine-datatype + sh:maxCount 1 ; # multiple-parameters + ] ; sh:property [ sh:path sh:flags ; sh:datatype xsd:string ; # flags-datatype