Closed jmvanel closed 7 years ago
query :
DELETE { GRAPH <oldGraph> { <S> ?P ?O }} INSERT{ GRAPH <newGraph> { <S> ?P ?O }} WHERE {GRAPH <oldGraph> { <S> ?P ?O}}
OK , after thinking more,
replace <S>
by ?S
And put this in a script
dist/scripts/rgraphmove.sh
like
dist/scripts/rgraphremove.sh
you need to have < S > to be sure of moving the good content. Imagin if you have more than 1 content in the graph, you need to precise the subject
I have done a script who the suject is obtionnal
use case: moving data
from a named graph to another; typically for moving a FOAF profile typed by the wrong user.