Hi -
I am working with data which is a little like this
<subject> hasRelation1 <R1>
hasRelation2 <R2>
....
hasRelationN <RN>
description "<subject> has Relation1, Relation2,
...., and Relation N. So there."
Where the 'description' caches a string which could be inferred from all
the hasRelation's but would be a bit costly to do so.
The problem is that someone might come along and use a SPARQL update to
edit one of the hasRelation's, but forget to update or invalidate the
corresponding description.
So my question is this: Is there some 'hook' facility in Jena that would
automatically execute in the event of a sparql update, which I could
program to enforce consistency in the triplestore?
If not, I gather best practice would be to provide a separate tool for
editing content which would not expose a sqarql update facility to end
users....
Thanks,