fekaputra / shacl-plugin

SHACL4Protege - SHACL constraint validation plugin for Protégé
https://semantic-systems.org
MIT License
34 stars 8 forks source link

Support for Construct methods #43

Open Maozerhouni opened 1 year ago

Maozerhouni commented 1 year ago

Hi there,

Does Pellet and/or HermiT infer new RDF triplets based on the Construct rules that are specified in SHACL plugin ? (following the methods specified here https://www.w3.org/TR/shacl-af/#SPARQLRule)

Thanks

fekaputra commented 1 year ago

Hi, currently this is not part of the plugin, as the command to execute SHACL-AF rules [1] differs from executing SHACL constraints [2] . Furthermore, the logic behind these two commands are rather different. Any contribution towards this direction is welcome though :)

[1] https://github.com/TopQuadrant/shacl/blob/master/src/test/java/org/topbraid/shacl/RuleExample.java [2] https://github.com/TopQuadrant/shacl/blob/master/src/test/java/org/topbraid/shacl/ValidationExample.java