sszuev opened a new issue, #1381:
URL: https://github.com/apache/jena/issues/1381
### Version
4.6.0
### What happened?
For the query
```sparql
SELECT ?s WHERE {
?s <http://test#fun> ?o .
}
```
where `<http://test#fun>` is a custom property function, this code works as
expected:
```java
DatasetGraph dg = new
DatasetGraphWrapper(DatasetGraphFactory.wrap(data.getGraph()), context);
try (QueryExecution qe =
QueryExecutionFactory.create(QueryFactory.create(query), dg)) {
...
}
```
but this one does not work:
```java
try (QueryExecution qe =
QueryExecution.create().query(query).model(data).context(context).build()) {
...
}
```
from #1374
full test is attached:
[TestQueryExecution.java.txt](https://github.com/apache/jena/files/8892919/TestQueryExecution.java.txt)
### Which environment is running?
- [ ] macOS
- [X] Windows
- [X] Linux
- [ ] other
### Relevant output and stacktrace
_No response_
### Are you interested in making a pull request?
_No response_
--
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]