Hi Carsten
 
I think the distinction is that the API add/get/purgeRelationship methods
are specifically for managing RELS-EXT, not for managing relationships (ie
resource index triples) in general - maybe this should be clearer in the
documentation.
 
Although it would be possible to do what you suggest, there are other
triples/relationships created in the resource index in addition to Dublin
Core triples; for example object and datastream properties, so there is a
question there as to what should happen with these if the relationship API
was extended to a more general case.  There's also a question as to what
should happen if the resource index is not enabled - in that case there is
no triple expression of Dublin Core so it might seem illogical for the
relationship API to be modifying DC values.
 
You're right that DC Terms relationships could be added to RELS-EXT, and
these could conflict with values in the DC datastream, but I think this is a
generic situation - it is possible to have multiple metadata datastreams
containing inconsistent values.
 
Regards
Steve
 

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
Sent: 30 October 2009 02:31
To: [email protected]
Subject: [Fedora-commons-developers] Suggestion: Extend Relationship
Management to Dublin Core und bulk relelationship update.



The standard relationship management API add/get/purgeRelationship does not
allow to alter or add Dublin Core fields. I'm aware that they are stored
differently internally in Fedora, but from a user point of view, this
distinction is not that obvious. How about changing the current API so the
server side, instead of raising an error on Dublin Core fields, executes the
request on the DC stream (instead of the RELS-EXT stream)? 

 

It would also be nice if the API would accept a collection of relationships
as this could be done with better performance than individual ones (RELS-EXT
has to be changed only once) and the changes on the server side would be
small.

 

In the context of DC there is also the additional problem of DC Terms vs DC
Elements. Just looking at the source code it should be possible to add DC
Terms relationships to a Fedora object using the API which would end up in
RELS-EXT but which might conflict with values in the DC datastream and which
would not be reflected in searches. If you know what's happening inside
Fedora it's easy to avoid, but for someone just wanting to use the API this
could be very confusing.

 

Carsten Friedrich
Research Team Leader
CSIRO ICT Centre
+61 (0) 2 6216 7019 

 <http://www.ict.csiro.au/> www.ict.csiro.au

 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to