Utilizing external JavaScript functions for constraint validation using SHACL-JS
I am trying to utilize SHACL-JS to access external JavaScript functions and perform constraint validation on an RDF graph. The reason for using external functions is I need to perform some complex mathematical operations, which cannot be performed directly within SHACL-SPARQL.
The shape graph I used is as follows: