W3C home > Mailing lists > Public > public-rdf-shapes@w3.org > July 2014

Re: Validation and documentation using SPIN templates examples and an extension for heuristics/expectations

From: Dimitris Kontokostas <kontokostas@informatik.uni-leipzig.de>
Date: Thu, 24 Jul 2014 12:31:04 +0300
Message-ID: <CA+u4+a0S_gfBETFD1Y+LhNKcoRqdVBYimX+gzggwxPTbd8DACg@mail.gmail.com>
To: Holger Knublauch <holger@topquadrant.com>
Cc: "public-rdf-sha." <public-rdf-shapes@w3.org>
On Thu, Jul 24, 2014 at 12:06 PM, Holger Knublauch <holger@topquadrant.com>

> On 7/24/14, 6:59 PM, Dimitris Kontokostas wrote:
>> One note here (i'm not going into syntax) if we adopt the severety level
>> paradigm this can be easily supported from both ShEx & SPIN with a rule
>> like this:
>> Rule X, "cars with six wheels are uncommon" @level warning (or notice)
> I agree, and it would be good if this was recorded as a requirement
> somewhere. For SPIN this could be another triple such as
> spin:violationLevel spin:Warning (or similar). We have encountered this as
> a requirement many times - some input errors are acceptable to at least
> click OK, and fix it later.

I already mentioned this in [1] [2] and exists in [3]

[1] http://lists.w3.org/Archives/Public/public-rdf-shapes/2014Jul/0208.html
[2] http://lists.w3.org/Archives/Public/public-rdf-shapes/2014Jun/0009.html
[3] http://lelystad.informatik.uni-mannheim.de/rdf-validation/?q=node/231

> Another related use case is that if a constraint violation happens, the
> system could *suggest* a fix. In SPIN we do this by creating INSERT/DELETE
> template calls as part of a constructed spin:ConstraintViolation. This can
> be exposed by user interfaces via a button "Fix me".
> Holger

Dimitris Kontokostas
Department of Computer Science, University of Leipzig
Research Group: http://aksw.org
Received on Thursday, 24 July 2014 09:32:00 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:02:39 UTC