On 17/08/15 20:26, Martynas Jusevičius wrote:
Andy,
I have a related question. What if I have a Dataset at hand, not a
Model - how do I send it to a remote Graph Store?
The SPARQL Graph Store Protocol does not mention this. Fuseki supports
REST-ish PUT/POST/GET on the dataset URL.
Currently, you need to send it yourself -- HttpOp.execHttpPost has lots
for support for that e.g. see DatasetGraphAccessorHTTP for sending a
model - generalise to datasets.
We have been talking about this on dev@
http://mail-archives.apache.org/mod_mbox/jena-dev/201508.mbox/%3C55BE6A0B.5020404%40apache.org%3E
where we're talking about bring the remote (and local) interaction
together and whetre I'm suggesting adding the plain-old HTTP ops on teh
dataset URL.
Andy
Martynas
On Mon, Aug 17, 2015 at 9:19 PM, Andy Seaborne <a...@apache.org> wrote:
DatasetAccessor
This is the API to the SPARQL Graph Store Protocol.
Model model = ...
DatasetAccessor acc = DatasetAccessorFactory.createHTTP
("http://.../datasets/data") ;
acc.add(model) ; // adds to existign data, if any.
or
acc.putModel(model) -- which overwrites existing data
On 17/08/15 20:11, aj...@virginia.edu wrote:
There may be a better answer for this, but at the very least, you can
serialize your triples/quads and use SPARQL Update to send them to your
Fuseki instance.
---
A. Soroka
The University of Virginia Library
On Aug 17, 2015, at 3:08 PM, Andy Doddington <andy.dodding...@gmail.com>
wrote:
On 17 Aug 2015, at 19:50, Andy Doddington
<andy.dodding...@googlemail.com> wrote:
Hoping the subject makes my query clear - since I am a total newbie in
this area.
I have created a tiny model, using ModelFactory.createDefaultModel() to
create my initially empty model,
which I then populate manually.
So, having done this, is there any way that I can persist this to a
Fuseki database running on a remote server?
Thanks for any help,
Andy D