[
https://issues.apache.org/jira/browse/JENA-1331?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15988653#comment-15988653
]
Andy Seaborne commented on JENA-1331:
-------------------------------------
[~rmorrise], "?optimize=2" is a MarkLogic-specific feature and I am not aware
of any other system that changes the URL in similar ways.
The point of {{RDFConnection}} is that it is an abstraction and interface for
different providers of the SPARQL Protocol and SPARQL Graph Store Protocol.
If there is a common pattern, and someone submits some code, then maybe there
is a reason to include it. Implementation that is specific to MarkLogic or any
other system is better done by extension. Jena can expose the helper functions
for GSP (the basic operations for query and update are already subclassable) to
assist extension. Specific system features, which the project can't test,
without having to setup and maintain an installation, and are subject to change
by e.g. MarkLogic are beyond what Jena should do in my opinion. Probably better
to MarkLogic or someone else (it does not have to be MarkLogic, it does have to
be someone who will look after it) provide their own version of
{{RDFConnection}}. MarkLogic already provide a graph adapter for Jena.
Note the app can make calls to {{QueryExecutionFactory.sparqlService}} directly
if it wants to specially manipulate the per-request details.
> RDFConnectionRemote does not handle additional query string items in GSP
> operations.
> ------------------------------------------------------------------------------------
>
> Key: JENA-1331
> URL: https://issues.apache.org/jira/browse/JENA-1331
> Project: Apache Jena
> Issue Type: Bug
> Affects Versions: Jena 3.2.0
> Reporter: Andy Seaborne
> Assignee: Andy Seaborne
>
> Some systems have optional query string parameters. Calculating the correct
> operation URL needs to take these into account. The Graph Store Protocol gets
> broken operations get broken.
> Report:
> https://lists.apache.org/thread.html/bd56999dc75bb223b0707e06f958c0579e0a2e04f59a72183168ae95@%3Cusers.jena.apache.org%3E
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)