Hi,
    I need to find the PIDs and filenames of Objects within a collection. With 
the following query, I can get the PIDs but I am not sure how to get the 
filenames of the objects.

When I try to search for label, it's returning the title of the object instead 
of the actual filename:


QUERY:
select $object $filename
from <#ri>
where $object 
<info:fedora/fedora-system:def/relations-external#isMemberOfCollection>
<info:fedora/islandora:castimagescollection>
and $object <fedora-model:label> $filename



RESULT:
"object","filename"
info:fedora/islandora:70,Folder 1
info:fedora/islandora:224,Cast image 9
info:fedora/islandora:298,Cast image 10
info:fedora/islandora:311,Cast image 11


I appreciate your feedback.


Diwakar Timilsina
Systems Analyst, UITS
University of Arkansas, Fayetteville
Email: diwa...@uark.edu<mailto:diwa...@uark.edu>
Phone: 479.575.6160

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to