Re: using classes to control constraints

On 2/12/2015 7:17, Peter F. Patel-Schneider wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> So there is in an error in an RDF graph.  How is that supposed to work?

The life cycle of the RDF graph depends on the specific application.

> When is it supposed to be checked?

The application decides when. Some applications may for example only run 
constraint checks when the user triggers a constraint violation report. 
Some SPARQL Update end points may check inconsistencies automatically 
and reject updates that create violations.

> What reporting needs to be done?

This is specified in the LDOM spec - each constraint can produce 
ldom:ConstraintViolations with ldom:root, ldom:path, ldom:value and 
ldom:message.

Holger

Received on Wednesday, 11 February 2015 23:54:12 UTC