brilliant, thanks David.

Alistair


From: David Lacy <david.l...@villanova.edu<mailto:david.l...@villanova.edu>>
Reply-To: "Support and info exchange list for Fedora users." 
<fedora-commons-users@lists.sourceforge.net<mailto:fedora-commons-users@lists.sourceforge.net>>
Date: Wednesday, 9 January 2013 15:14
To: "Support and info exchange list for Fedora users." 
<fedora-commons-users@lists.sourceforge.net<mailto:fedora-commons-users@lists.sourceforge.net>>
Subject: Re: [fcrepo-user] Getting at the dc:title in risearch

This should work, though there may be a more efficient way.

select $collection $title from <#ri>
where $collection <http://www.nsdl.org/ontologies/relationships#isCollection> 
'true'
and $collection <dc:title> 'testtitle'
and $collection <dc:title> $title

David Lacy
Falvey Library Technology Services
Villanova University
library.villanova.edu

From: Alistair Young [mailto:alistair.yo...@uhi.ac.uk]
Sent: Wednesday, January 09, 2013 9:37 AM
To: Support and info exchange list for Fedora users.
Subject: [fcrepo-user] Getting at the dc:title in risearch

Hi folks,

would anyone know how to extract the dc:title from an risearch query?

the following 'works' in that it finds a collection with the correct title:

select $title from <#ri> where $title <dc:title> 'testtitle'
  and $collection <http://www.nsdl.org/ontologies/relationships#isCollection> 
'true'

but doesn't return the title:

title
info:fedora/ltk:13000042

thanks,

Alistair

------------------------------------------------------------------------------
Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery
and much more. Keep your Java skills current with LearnJavaNow -
200+ hours of step-by-step video tutorials by Java experts.
SALE $49.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122612 
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to