You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jena.apache.org by "galgonek (via GitHub)" <gi...@apache.org> on 2025/02/07 10:05:59 UTC
[I] 5.3.0 [jena]
galgonek opened a new issue, #2995:
URL: https://github.com/apache/jena/issues/2995
### Version
Generating of syntactically incorrect queries when evaluating a service pattern
### What happened?
I have noticed that during the evaluation of a federated query, Jena performs substitution of a variable for a RDF term even in cases where the given RDF term cannot be valid.
This can be demonstrated by the following federated query:
```sparql
SELECT * WHERE {
VALUES ?P { "literal" }
SERVICE <https://idsm.elixir-czech.cz/sparql/endpoint/idsm> {
?S ?P ?O.
}
}
```
Jena sends the following query to the endpoint:
```sparql
SELECT *
WHERE
{ ?S "literal" ?O }
```
However, such a query is not syntactically correct.
### Relevant output and stacktrace
```shell
```
### Are you interested in making a pull request?
None
--
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: issues-unsubscribe@jena.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@jena.apache.org
For additional commands, e-mail: issues-help@jena.apache.org