- From: Dan Brickley <danbri@danbri.org>
- Date: Wed, 6 Nov 2024 08:35:24 +0000
- To: Frans Knibbe <fjknibbe@gmail.com>
- Cc: Pieter Colpaert <pieter.colpaert@ugent.be>, public-lod@w3.org, "Eric Prud'hommeaux" <eric@porklips.org>
- Message-ID: <CAFfrAFp-qZZjt4aS8ctxyp2dbGojHOgwq_zfG5ZLvdNt5RDLeQ@mail.gmail.com>
This is not exactly what you want but maybe of interest: Schemarama codebase at https://github.com/google/schemarama/ <https://github.com/google/schemarama/blob/main/demo/validation/shex/specific/ServiceB/Dataset.shex> …gives a validator using shacl and shEx schema.org style in-page structured data (json-ld, rdfa, microdata). It has boring auto-generated shacl/shex for the basic structure of Schema.org, alongside product-or-service specific shapes designed to capture the expressed needs of the data-consumption ecosystem. So for datasets it has this rough sketch of the schema.org/Dataset representation as used in Google Dataset Search: https://github.com/google/schemarama/blob/main/demo/validation/shex/specific/ServiceB/Dataset.shex In general the idea is to capture specifics of use rather than try to make “the” DCAT (or foaf, skos, good relations etc.) shape. One vocabulary/schema/ontology can support an infinity or quite varied usecases. This is RDF’s greatest strength and greatest weakness. I still have hope that Shapes can bridge this gap between expressivity and usability… Dan On Tue, Nov 5, 2024 at 19:28 Frans Knibbe <fjknibbe@gmail.com> wrote: > Thanks Pieter. I thought I did look in the DCAT-AP shapes, but it turns > out I did so in a sloppy way. I read the documentation too hastily, and > thought shapes_recommended.ttl contained recommended shapes. In fact it > contains recommendations (warnings instead of violations). When I could not > find a particular constraint from DCAT in shapes_recommended.ttl, I > thought describing the constraints for the ontology itself were out of > scope for any DCAT application profile. In fact, shapes for the ontology > itself are present in shapes.ttl in DCAT-AP. > > I feel stupid now. And sorry to have bothered you all. > > Regards, > Frans > > Op di 5 nov 2024 om 16:14 schreef Pieter Colpaert < > pieter.colpaert@ugent.be>: > >> Hi Frans, >> >> I think you might want to look at DCAT-AP then: >> https://semiceu.github.io/DCAT-AP/releases/3.0.0/html/shacl/shapes.ttl >> >> Kind regards, >> >> Pieter >> On 5/11/2024 14:08, Frans Knibbe wrote: >> >> Hi all, >> >> I wonder if there are SHACL shapes somewhere that describe the DCAT >> ontology <https://www.w3.org/TR/vocab-dcat-3/>. I know there are several >> application profiles for DCAT that come with shape graphs, but I haven't >> been able to find SHACL shapes for DCAT itself. Are they publicly available >> somewhere? >> >> Regards, >> Frans >> >> -- https://pietercolpaert.be >> >>
Received on Wednesday, 6 November 2024 08:35:41 UTC