- From: Jesse Wright via GitHub <sysbot+gh@w3.org>
- Date: Sun, 25 May 2025 23:17:20 +0000
- To: public-shacl@w3.org
jeswr has just created a new issue for https://github.com/w3c/data-shapes:
== SHACLC-C `sh:name` and `sh:description` shorthand and derive ==
I think we should add support for `sh:name` and `sh:description` such that each of the following are equivalent
SHACLC
```shaclc
shape <#ServiceShape> -> ex:Service ;
// @name provider
// comma-separated list of name(s) of Person(s) and/or Organization(s)
ex:provider xsd:string .
}
```
SHACLC
```shaclc
@deriveNames
shape <#ServiceShape> -> ex:Service ;
// comma-separated list of name(s) of Person(s) and/or Organization(s)
ex:provider xsd:string .
}
```
TTL
```ttl
<> a owl:Ontology .
<#ServiceShape> a sh:NamedNode ;
sh:name "provider" ;
sh:description "comma-separated list of name(s) of Person(s) and/or Organization(s)" ;
sh:path ex:provider ;
sh:datatype xsd:string .
```
Please view or discuss this issue at https://github.com/w3c/data-shapes/issues/388 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 25 May 2025 23:17:21 UTC