Re: moving graph between tdb

2017-08-31 Thread Andy Seaborne

Ingenious!

On 31/08/17 14:07, Osma Suominen wrote:
Couldn't you do this in a single SPARQL Update operation to the 
destination dataset, if the source dataset has a HTTP Graph Store 
endpoint available? I seem to remember doing things like


LOAD 
INTO 

(you may need to URL quote the source graph URI...)

Of course, behind the scenes this will perform two operations 
(serialization from the source and deserialization/load to the 
destination) but you don't need to store the data in between those 
operations.


-Osma


Andy Seaborne kirjoitti 31.08.2017 klo 12:36:

(please don't tack on to a different, unrelated thread)

You have to extract the graph you want and upload it to the new dataset.

The SPARQL protocol has no operations that span 2 different datasets.

 Andy

On 30/08/17 18:28, Andrew U Frank wrote:
 > i have a large tdb stored dataset with multiple graphs. can i move one
 > graph from one to another dataset? what would be the command using 
http

 > protokoll?
 > thank you!
 > andrew
 >
 >
 >





Re: moving graph between tdb

2017-08-31 Thread Osma Suominen
Couldn't you do this in a single SPARQL Update operation to the 
destination dataset, if the source dataset has a HTTP Graph Store 
endpoint available? I seem to remember doing things like


LOAD 
INTO 

(you may need to URL quote the source graph URI...)

Of course, behind the scenes this will perform two operations 
(serialization from the source and deserialization/load to the 
destination) but you don't need to store the data in between those 
operations.


-Osma


Andy Seaborne kirjoitti 31.08.2017 klo 12:36:

(please don't tack on to a different, unrelated thread)

You have to extract the graph you want and upload it to the new dataset.

The SPARQL protocol has no operations that span 2 different datasets.

 Andy

On 30/08/17 18:28, Andrew U Frank wrote:
 > i have a large tdb stored dataset with multiple graphs. can i move one
 > graph from one to another dataset? what would be the command using http
 > protokoll?
 > thank you!
 > andrew
 >
 >
 >



--
Osma Suominen
D.Sc. (Tech), Information Systems Specialist
National Library of Finland
P.O. Box 26 (Kaikukatu 4)
00014 HELSINGIN YLIOPISTO
Tel. +358 50 3199529
osma.suomi...@helsinki.fi
http://www.nationallibrary.fi


Re: moving graph between tdb

2017-08-31 Thread Andy Seaborne

(please don't tack on to a different, unrelated thread)

You have to extract the graph you want and upload it to the new dataset.

The SPARQL protocol has no operations that span 2 different datasets.

Andy

On 30/08/17 18:28, Andrew U Frank wrote:
> i have a large tdb stored dataset with multiple graphs. can i move one
> graph from one to another dataset? what would be the command using http
> protokoll?
> thank you!
> andrew
>
>
>


moving graph between tdb

2017-08-30 Thread Andrew U Frank
i have a large tdb stored dataset with multiple graphs. can i move one
graph from one to another dataset? what would be the command using http
protokoll?
thank you!
andrew