Hi Arne,
'Updating' an RDF statement requires an insert of a new statement (new
because it expresses a relationship that does not yet exist in the graph)
and a removal of the old statement (such that the graph no longer includes
the relationship.) To perform both of these steps, you need to provide
enough information to create the new relationship and remove the old. While
it would be possible to create a method which combines these steps, you
would still have to pass in all of the same information you do now to
perform a purge and add. That being the case, it doesn't appear that there
is much to be gained from an additional API method.

Don't forget that you can always edit the RELS-EXT file directly if you want
to do a significant number of modifications and want to keep down the number
of Fedora API calls.

Bill



On Tue, May 19, 2009 at 5:13 AM, arne anka <[email protected]>wrote:

> hi,
> is there something like updateRelationship planned?
> addRelationship does not overwrite an already existing relationship entry
> with a new value and purgeRelationship requires to give the exact
> combination of name and value, so updating relationships via
> purge/addRelationship is rather tedious.
>
>
>
> ------------------------------------------------------------------------------
> Crystal Reports - New Free Runtime and 30 Day Trial
> Check out the new simplified licensing option that enables
> unlimited royalty-free distribution of the report engine
> for externally facing server and web deployment.
> http://p.sf.net/sfu/businessobjects
> _______________________________________________
> Fedora-commons-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
>
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
_______________________________________________
Fedora-commons-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to