- From: Håvard Ottestad <hmottestad@gmail.com>
- Date: Mon, 8 Jun 2020 09:58:04 +0200
- To: lars.svensson@web.de
- Cc: Andy Seaborne <andy@apache.org>, Public Shacl W3C <public-shacl@w3.org>
- Message-ID: <CAEKmdN2e6jyj4uHxexz_i7j2+JfZhGx5PA1acKp56C_D7Q-A_A@mail.gmail.com>
Hi, Following up after a test of Stardog. It seems that they use the following header to indicate a validation error: SD-Error-Code: TXHRE2 I guess SD stands for Stardog. They also return json and don't respect the Accept header. A question for you Andy. Does Fuseki support SHACL in such a way as to cancel a transaction if committing it would violate the shapes? Cheers, Håvard On Fri, Jun 5, 2020 at 7:40 AM <lars.svensson@web.de> wrote: > On Freitag, 05. Juni 2020 um 01:24 Uhr, "Andy Seaborne" <andy@apache.org> > wrote: > [...] > > > > I don’t see how a SHACL validation violation would produce anything > other than a SHACL validation report. > > > > > > My initial thought was a custom header and standard mime type. > > > > Vladimir has mentioned profiles: > > > > https://www.w3.org/TR/dx-prof-conneg/ > > > > which look like a progressive approach. > > [Disclaimer: I'm one of the editors of that document] > > Yes, this is exactly what profiles are for. What's needed is a URI that > identifies a document as a SHACL validation report _irrespective of the > media type_ (i.e it's orthogonal to the fact that it's turtle or RDF/XML or > any other syntax). > > > So I see there are choices to consider before making a de-facto > > registration (a CG can't formally register a MIME type). > > Can a CG can write a note defining URIs for SHACL profiles? I guess there > would be two of them, one for shape definition documents (or rather "this > document contains (among other things) shape definitions" and one for SHACL > validation reports. > > And (this one's for Andy): Is profiles something you could consider adding > to Jena? > > Best, > > Lars > >
Received on Monday, 8 June 2020 07:58:29 UTC