Hey,
I'm receiving an RDF model which then goes through the following steps:
1. pre-process SPIN validation (checking for missing properties etc)
2. processing (building URIs for blank nodes, generating hashes from
passwords etc.)
3. post-process SPIN validation (checking for processed properties,
existing resources with same URI etc)
What I need is a way to group constraint templates (or their instances?),
so that some of them would only be executed during pre-process, and others
during post-process.
I've noticed the practice of grouping templates into super-classes, but it
gets complicated as for example dqc:MissingProperties could be a
pre-process constraint in relation to foaf:name, but post-process in
relation to :passwordHash property.
Any ideas on how to go about this? The code I'm currently using to register
and execute constraints is:
getOntModel().add(model);
SPINModuleRegistry.get().registerAll(getOntModel(), null);
List<ConstraintViolation> cvs = SPINConstraints.check(getOntModel(),
null);
Thanks,
Martynas
graphityhq.com
--
-- You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary
Network (EVN), TopBraid Composer, TopBraid Live, TopBraid Insight,
SPARQLMotion, SPARQL Web Pages and SPIN.
To post to this group, send email to
[email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/topbraid-users?hl=en
---
You received this message because you are subscribed to the Google Groups
"TopBraid Suite Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.