[ 
https://issues.apache.org/jira/browse/JENA-2272?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17487000#comment-17487000
 ] 

Andy Seaborne commented on JENA-2272:
-------------------------------------

The capability to send quad formats has been there for quite a while in Fuseki 
and RDFConnection.

Originally in Fuseki it was called "quads", but it was rolled into the SPARQL 
Graph Store Protocol servlets.

Having it combined makes the file upload UI more obvious because we have a 
"accept stuff" network point that accepts Graph Store Protocol, or the quads 
formats and including some HTML form file upload.

The client-side engine for the SPARQL Graph Store Protocol is class is {{GSP}} 
since the SPARQL API/java.net.http upgrade at 4.3.x. 

It can be used directly or via RDFLink/RDFConnection which use it under 
different, more user-centric, names. RDFLinkHTTP has less options for setup. 
GSP should make it possible to set all details of the HTTP request for those 
3rd party endpoints that are peculiar (e.g. only certain MIME types, or content 
negotiation not implemented).

It's in {{GSP}} as the {{*Dataset}} operations.  "getDataset" can't be called 
"GET" because "GET" returns a {{Graph}}.

That's seems ugly. It stood out while do maintenance of the file upload 
functionality as a precursor to javax/jakarta issues.

This ticket is to put the dataset operations as a separate "DSP" (D=Dataset) so 
there is a {{DSG.service(URL).GET()}} function that returns a {{DatasetGraph}} 
with shared HTTP setup in a common superclass {{StoreProtocol}}.

"extension" is a bit strong really - this is normal use of GET/POST/PUT. GET 
retrieves, POST adds to the resource and PUT replaces the contents. So if it is 
W3C work, it's the web!

The original operations are there and marked deprecated.


> Split out GSP extensions for dataset operations into companion class DSP
> ------------------------------------------------------------------------
>
>                 Key: JENA-2272
>                 URL: https://issues.apache.org/jira/browse/JENA-2272
>             Project: Apache Jena
>          Issue Type: Improvement
>          Components: ARQ
>    Affects Versions: Jena 4.4.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Minor
>
> This task is to create a new {{DSP}} which has the dataset-extension 
> operations of {{GSP}}.
> Mark the original functions for dataset in {{GSP}} as "deprecated".



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to