Hello Holger,

I'm trying to automatically remove RDF-star provenance metadata when a SME 
marks a concept as approved. I modeled this using a SHACL SPARQLRule with a 
boolean condition shape. The simplified architecture is as follows:

   - reviewApproved is a boolean property 
   - A sh:PropertyShape checks that value 
   - A sh:SPARQLRule with sh:SPARQLUpdateAction deletes RDF-star metadata 
   when reviewApproved = true 
   - A NodeShape (targetClass = the concept class) attaches the rule 

The rule loads correctly in EDG, but *never fires* — no meta metadata is 
deleted, either automatically or on save.

My questions:

   1. *When does EDG execute sh:SPARQLRule + sh:SPARQLUpdateAction?* 
   2. *Is there something wrong with attaching the shape + rule to a class 
   NodeShape instead of a Shapes Collection?* 
   3. *Based on the architecture described above, should this approach 
   work?* 

Do you need to see the specific implementation I used?

Any guidance on why this rule is not being executed — or how EDG expects 
rules to be structured for update-based automation — would be greatly 
appreciated.
Thank you!
—Jared

-- 
The topics of this mailing list include TopBraid EDG and related technologies 
such as SHACL.
To post to this group, send email to [email protected]
--- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/topbraid-users/22dfbe97-4d80-4f1e-8d0d-f1606199e40bn%40googlegroups.com.

Reply via email to