- From: Johann Petrak <johann.petrak@chello.at>
- Date: Thu, 13 Oct 2011 13:56:59 +0200
- To: public-sparql-dev@w3.org
(I apologize if this is the wrong list to ask such questions, if it is I would appreciate to learn about better alternatives) Is there any way to use the new SPARQL 1.1 features to 'in-place' update the value of e.g. a DatatypeProperty? In the simplest case this would mean that I want to replace some value X by some value Y. The catch is that I always want this to happen on the correct property when there is inference involved, e.g. when a property has subproperties. So if subprop is a sub property of prop i would like to check prop for any value that needs to be updated and change it on prop or subprop, depending on where it was asserted. This would allow the same update operation to work when e.g. someone decides to add another subproperty of prop or even of subprop. A bonus question is: is it possible to update a value such that the new value is a function of the old value, e.g. the original string trimmed or having some part replaced? Cheers, johann
Received on Thursday, 13 October 2011 11:57:40 UTC