Hello,
I am trying to use a property value rule to infer a value from another property.
The use case involves using REGEX to strip out certain strings and special characters.
The logic works OK with alphanumeric characters, but it returns an error on special characters.
For example, the following statement works OK:
However, the following statement, which is intended to remove the [ character, returns an error:
The escape characters \\ work OK in a SPARQL query. However, in the property value rule, they return the following error:
(SHACL node expression of unknown type: org.apache.jena.query.QueryParseException:... Encountered: '91' (91), after prefix "\"\\")
Is there a different way to indicate escape characters, so that REGEX can be used in the BIND/REPLACE statement?
Thank you,
Dan Segal