- From: Thomas Francart <thomas.francart@sparna.fr>
- Date: Tue, 19 Nov 2024 13:16:26 +0100
- To: Nicholas Car <nick@kurrawong.ai>
- Cc: Public Shacl W3C <public-shacl@w3.org>
- Message-ID: <CAPugn7WJAoZB09fWADAeuhFc-4=ABM1vfWXQBFU_N42Z-BkJrA@mail.gmail.com>
Hello If it helps: - SHACL Play documentation generator [1] reads a subset of SHACL statements to generation an application-profile-like documentation - The pattern used in Sparnatural SHACL-based configuration [2][3] is to set sh:deactivated on the imported shapes (node or properties) I want to hide. My understanding is that this subtractive approach is the only way, you cannot have an additive approach - I would very much be able to reuse and override not a shape but a *constraint* on a shape. Typically make a constraint more strict (sh:minCount not defined on imported shape, but set to 1 when reused locally) or relax a constraint (sh:minCount set to 1 on imported shape, but overwritten to 0 when used locally) Thomas [1] https://shacl-play.sparna.fr/play/doc;#documentation [2] https://docs.sparnatural.eu/SHACL-based-configuration.html [3] https://docs.sparnatural.eu/how-to-configure-shacl/How-to-configure-Sparnatural-shacl.html Le mar. 19 nov. 2024 à 03:03, Nicholas Car <nick@kurrawong.ai> a écrit : > Dear SHACL CG, > > One of the deliverables of the proposed "Data Shapes WG" [1] is a "SHACL > 1.2 Profiling" specification. The intention is to "define methods for using > SHACL to create formal profiles of (RDF) standards" and, by extension, > define how bundles of SHACL Shapes can import / depend on / reuse other > SHACL Shapes. > > Even before this WG starts, if it does, I need to create SHACL Shape > collections that pick and choose Shapes from other collections. I would > like community input here to both get my job done and to start working up > towards an implementation of this deliverable. > > You can see wholescale importation in the ABIS specification [2] but not > selective importation. > > What methods / modelling patterns have you used to import Shapes 1, 2 and > 4, but not 3 from Shapes Collection A into Collection B? > > If this area is of really great interest to you, please consider joining > the WG too. > > Thanks, Nick > > > [1] https://w3c.github.io/shacl/charter-1.2/shacl-wg.html#deliverables > [2] > https://github.com/AusBIGG/abis/blob/master/validators/abis.ttl#L26-L55 > -- *Thomas Francart* -* SPARN**A* linked *data* | domain *ontologies* | *knowledge* graphs blog : blog.sparna.fr, site : sparna.fr, linkedin : fr.linkedin.com/in/thomasfrancart tel : +33 (0)6.71.11.25.97
Received on Tuesday, 19 November 2024 13:16:43 UTC