JenaX adds SPARQL function extensions that operate on a query's prefixes (similar to the tarql functions). However, optimizing prefixes (removing unused ones) interferes with these functions.
The prefix optimizer SparqlStmtUtils.optimizePrefixes should not remove prefixes if any of the prefix functions are used in the query / update statement.
JenaX adds SPARQL function extensions that operate on a query's prefixes (similar to the tarql functions). However, optimizing prefixes (removing unused ones) interferes with these functions.
The prefix optimizer
SparqlStmtUtils.optimizePrefixesshould not remove prefixes if any of the prefix functions are used in the query / update statement.