On 12/19/24 03:17, Andy Seaborne wrote:
On 18/12/2024 01:53, Nicholas Car wrote:
The W3C has formed a second Data Shapes WG to extend and maintain
SHACL-based Recommendations (standards).
Please see the proposed Deliverables:
- SHACL 1.2 Core
- SHACL 1.2 SPARQL Extensions
- SHACL 1.2 User Interfaces
- SHACL 1.2 Inferencing Rules
- SHACL 1.2 Profiling
- SHACL 1.2 Compact Syntax
What do you want to see in SHACL 1.2?
My forays into SHACL have, unfortunately, been occasional, and mostly
limited to core constraints.
* Are there missing SHACL-Core constraints that you would find useful?
* Do you make use of SHACL-SPARQL?
* Do you find you have to use SHACL-SPARQL for simple tasks?
I'm comfortable with SPARQL, and it would probably be easier for some of
my SHACL use cases, but so far I've tried to keep my shapes as simple
(ha!) as possible.
* What do you think about SHACL compact syntax?
Alternate/compact syntaxes are a bother for spec writers, implementers,
and users. One of the big benefits of working in RDF and XML is that
your basic toolchain can be used to consume and produce all the
artifacts you need to work with. Ever since JSON, that convenience has
been steadily degraded. Anything worth saying is worth saying in RDF or XML.
* Would you use SHACL rules (SHACL inference)?
We have a perfectly good rules language in RIF, with abundant support
for datatypes and built-in functions, and XML and RDF syntaxes. That
said, there are some acknowledged gaps between SPARQL and RIF due to the
timing of the working group deliverables. Maybe you could consider how
to extend SHACL rules to use RIF.
* any other SHACL thoughts?
I could be delusional, but I keep hoping that somewhere in the depths of
SPARQL/SHACL is an elegant formulation waiting to appear for the RDF
analog to XSLT (select graphs like this, do something with them, recurse
from there to construct new graph). SHACL advanced features have some of
the pieces, but I don't see the recursive processing model.
I have joined the working group (as an ASF representative) and I'd
like to hear what matters to you.
Thanks for asking!
Best,
--Paul
Andy
N.B.
The working group github repo is:
https://github.com/w3c/data-shapes
The WG is just starting up, the repo has the original SHACL 1.0
documents.
https://github.com/w3c/shacl is the community group github area and
has the draft input documents and many community-raised issues.