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?

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
>>>
>>
>

Reply via email to