Aklakan opened a new issue, #2255:
URL: https://github.com/apache/jena/issues/2255
### Version
5.0.0-SNAPSHOT
### Feature
Some triple stores, such as older virtuoso open source versions, do not
support `QuerySendMode.asGetWithLimitBody`.
While it is possible to create a link and connection to them using the code
below, actually executing a query on the link will fail for such stores.
```java
RDFLink link = RDFLinkHTTP.newBuilder()
.queryEndpoint("https://example.org/sparql")
.build();
```
A concrete instance of a public triple store where the default send mode
fails is mentioned in
https://github.com/apache/jena/issues/2233#issuecomment-1930965743
The proposal is to extend the builder with methods to preconfigure the
default query and update send modes for the sake of abstraction. When an
RDFLink is passed to the application logic, then the latter should be able to
execute queries successfully - without having to worry about how to actually
configure the query executions created from the link.
```java
RDFLink link = RDFLinkHTTP.newBuilder()
.queryEndpoint("https://example.org/sparql")
.querySendMode(QuerySendMode.asGetWithLimitForm)
.updateSendMode(UpdateSendMode.asPostForm)
.build();
```
### 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]