sszuev opened a new issue, #1374: URL: https://github.com/apache/jena/issues/1374
### Version 4.6.0 ### Suggestion If we want to execute a query in isolated context with unique set of independent functions and p-functions, we will encounter some difficulties: - the method `org.apache.jena.sparql.util.Context#copy` performs only shallow copying, not deep - there is no straightforward way to pass the context while constructing `org.apache.jena.query.QueryExecution` So we have to spend some time to find the proper way. I think this can be simplified by adding two new helper-methods: - `Context#copyWithFunctionRegistries(Context)` - the method to create a copy of `Context` with copied function and p-function registries - `QueryExecutionFactory#create(Query, Graph, Context)` - the method to create `QueryExceution` for a `Graph` with the given context ### Are you interested in contributing a solution yourself? Yes -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
