- From: <andrea.perego@ec.europa.eu>
- Date: Tue, 18 Apr 2017 15:08:51 +0000
- To: <holger@topquadrant.com>
- CC: <public-rdf-shapes@w3.org>
Many thanks, Holger! Andrea ---- Andrea Perego, Ph.D. Scientific / Technical Project Officer European Commission DG JRC Directorate B - Growth and Innovation Unit B6 - Digital Economy Via E. Fermi, 2749 - TP 262 21027 Ispra VA, Italy https://ec.europa.eu/jrc/ ---- The views expressed are purely those of the writer and may not in any circumstances be regarded as stating an official position of the European Commission. ________________________________________ From: Holger Knublauch [holger@topquadrant.com] Sent: 14 April 2017 08:49 To: public-rdf-shapes@w3.org Subject: Re: How to express mandatory classes Hi Andrea, we have started a wiki page to collect design patterns such as this: https://www.w3.org/wiki/SHACL/Examples Note for every problem there are multiple syntactic variations. HTH Holger On 12/04/2017 0:56, andrea.perego@ec.europa.eu wrote: > Dear SHACL WG, > > I would like to ask your advise on the possibility of using SHACL to express mandatory classes. I must say I've just started learning SHACL, so I apologise in advance if I missed the relevant parts / examples in the SHACL specification. > > The use case is about the definition of a shapes graph for DCAT-AP [1], a metadata profile based on DCAT, which is currently used in Europe as a metadata interchange format. > > In DCAT-AP we have a number of mandatory, recommended and optional classes. E.g., one of the requirements is that a given data graph must include at least one instance of class dcat:Dataset. > > My understanding is that this is related to the following issue: > > https://www.w3.org/2014/data-shapes/track/issues/168 > > Looking at the discussion behind the resolution to close it, something was mentioned about the possibility of putting constraints on rdf:type: > > https://www.w3.org/2016/06/23-shapes-minutes.html#item04 > > However, it's unclear to me how to do this, and I haven't found examples or guidance in the SHACL spec. > > Thanks in advance > > Andrea > > ---- > [1] https://joinup.ec.europa.eu/asset/dcat_application_profile/ > > ---- > Andrea Perego, Ph.D. > Scientific / Technical Project Officer > European Commission DG JRC > Directorate B - Growth and Innovation > Unit B6 - Digital Economy > Via E. Fermi, 2749 - TP 262 > 21027 Ispra VA, Italy > > https://ec.europa.eu/jrc/ > > ---- > The views expressed are purely those of the writer and may > not in any circumstances be regarded as stating an official > position of the European Commission. > >
Received on Tuesday, 18 April 2017 15:09:27 UTC