Replacing URIs via SPARQL update

Dear all,

is it possible to replace URIs in a store, similar to the approach in
example 5 given here: http://www.w3.org/TR/sparql11-update/#deleteInsert ?

The catch is that I don't want to replace single URIs, but all URIs in a
certain namespace. Say I have

http://some.domain.org/myClassA
http://some.domain.org/myClassB
http://some.domain.org/myPropertyA
http://some.domain.org/myPropertyB
etc.

and I want to change them all to

http://another.domain.org/myClassA
http://another.domain.org/myClassB
http://another.domain.org/myPropertyA
http://another.domain.org/myPropertyB
etc.

Finding the URIs to replace via FILTER and regex is no problem, but I'm
wondering whether there is a way to make sure that the
class/property-specific parts of the URIs are maintained and copied over to
the new URIs?

Any ideas appreciated!

Thanks,
Carsten

---
Carsten Keßler  |  http://carsten.io

Semantic Interoperability Lab | http://musil.uni-muenster.de
Institute for Geoinformatics | http://ifgi.uni-muenster.de
University of Münster | http://www.uni-muenster.de

Received on Thursday, 16 August 2012 13:28:52 UTC