You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Fajar Juang <fa...@gmail.com> on 2016/04/19 07:37:01 UTC
Fuseki2 Client Access from Java
Hi,
Are there any documentation on how to access Fuseki2 server from a Java client (to manage datasets)?
the current link [1] is empty and if there are any pointer to certain classes to start with, I am happy to explore.
Thanks in advance!
Fajar
[1] https://jena.apache.org/documentation/fuseki2/#sparql-java-clients <https://jena.apache.org/documentation/fuseki2/#sparql-java-clients>
Re: Fuseki2 Client Access from Java
Posted by Fajar Juang <fa...@gmail.com>.
Hi Martynas,
Thanks for the pointer, I’ll take a look on that.
While it’s seems a little bit far, but probably I can also use it for my purpose.
Thanks!
Fajar
> On 19 Apr 2016, at 12:39, Martynas Jusevičius <ma...@graphity.org> wrote:
>
> Not sure if this what you're looking for, but these are JAX-RS based
> SPARQL and Graph Store Protocol clients:
> https://github.com/Graphity/graphity-core/blob/master/src/main/java/org/graphity/core/client/SPARQLClient.java
> https://github.com/Graphity/graphity-core/blob/master/src/main/java/org/graphity/core/client/GraphStoreClient.java
>
> On Tue, Apr 19, 2016 at 7:37 AM, Fajar Juang <fa...@gmail.com> wrote:
>> Hi,
>>
>> Are there any documentation on how to access Fuseki2 server from a Java client (to manage datasets)?
>> the current link [1] is empty and if there are any pointer to certain classes to start with, I am happy to explore.
>>
>> Thanks in advance!
>> Fajar
>>
>> [1] https://jena.apache.org/documentation/fuseki2/#sparql-java-clients <https://jena.apache.org/documentation/fuseki2/#sparql-java-clients>
Re: Fuseki2 Client Access from Java
Posted by Martynas Jusevičius <ma...@graphity.org>.
Not sure if this what you're looking for, but these are JAX-RS based
SPARQL and Graph Store Protocol clients:
https://github.com/Graphity/graphity-core/blob/master/src/main/java/org/graphity/core/client/SPARQLClient.java
https://github.com/Graphity/graphity-core/blob/master/src/main/java/org/graphity/core/client/GraphStoreClient.java
On Tue, Apr 19, 2016 at 7:37 AM, Fajar Juang <fa...@gmail.com> wrote:
> Hi,
>
> Are there any documentation on how to access Fuseki2 server from a Java client (to manage datasets)?
> the current link [1] is empty and if there are any pointer to certain classes to start with, I am happy to explore.
>
> Thanks in advance!
> Fajar
>
> [1] https://jena.apache.org/documentation/fuseki2/#sparql-java-clients <https://jena.apache.org/documentation/fuseki2/#sparql-java-clients>
Re: Fuseki2 Client Access from Java
Posted by Fajar Juang <fa...@gmail.com>.
Hi Andy,
Thanks for the pointers.
I’ll check the documents and classes in the next few days/weeks,
and will report back if I found any difficulties / blocker.
Best regards,
Fajar
> On 19 Apr 2016, at 19:05, Andy Seaborne <an...@apache.org> wrote:
>
> On 19/04/16 06:37, Fajar Juang wrote:
>> Hi,
>>
>> Are there any documentation on how to access Fuseki2 server from a Java client (to manage datasets)?
>> the current link [1] is empty and if there are any pointer to certain classes to start with, I am happy to explore.
>
> For using the server, the query, update API and DatasetAccessor for Graph Store Protocol.
>
> I'd like to see this merged into one useful API:
>
> https://pony-poc.apache.org/thread.html/Z31r8r9061zh17c
>
> For admin like creating datasets, there isn't a java API
>
> But there a network API:
>
> https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html
>
> To check what actually works, the test might help: org.apache.jena.fuseki.TestAdmin
>
> They create datasets by POSTing assembler descriptions to the server to "/$/datasets" using regular HTTP library code.
>
> The admin UI provided ones are short forms - the parameters are dbType= value "tdb" or "mem" and dbName=. The code is in ActionDatasets but not not documented - sorry about that.
>
> Andy
>
>
>>
>> Thanks in advance!
>> Fajar
>>
>> [1] https://jena.apache.org/documentation/fuseki2/#sparql-java-clients <https://jena.apache.org/documentation/fuseki2/#sparql-java-clients>
>>
>
Re: Fuseki2 Client Access from Java
Posted by Andy Seaborne <an...@apache.org>.
On 19/04/16 06:37, Fajar Juang wrote:
> Hi,
>
> Are there any documentation on how to access Fuseki2 server from a Java client (to manage datasets)?
> the current link [1] is empty and if there are any pointer to certain classes to start with, I am happy to explore.
For using the server, the query, update API and DatasetAccessor for
Graph Store Protocol.
I'd like to see this merged into one useful API:
https://pony-poc.apache.org/thread.html/Z31r8r9061zh17c
For admin like creating datasets, there isn't a java API
But there a network API:
https://jena.apache.org/documentation/fuseki2/fuseki-server-protocol.html
To check what actually works, the test might help:
org.apache.jena.fuseki.TestAdmin
They create datasets by POSTing assembler descriptions to the server to
"/$/datasets" using regular HTTP library code.
The admin UI provided ones are short forms - the parameters are dbType=
value "tdb" or "mem" and dbName=. The code is in ActionDatasets but not
not documented - sorry about that.
Andy
>
> Thanks in advance!
> Fajar
>
> [1] https://jena.apache.org/documentation/fuseki2/#sparql-java-clients <https://jena.apache.org/documentation/fuseki2/#sparql-java-clients>
>