I'm glad you found the technique you wanted, but at the risk of sounding like a 
stuck record, I'll encourage you again to either think about using a full-text 
index for this kind of search _or_ using RDF, but changing your search to one 
driven by structural queries.

---
A. Soroka
Online Library Environment
the University of Virginia Library




On Nov 14, 2011, at 10:14 AM, HIGGINS R.I. wrote:

> Thank you, that was the clue I needed. By using the dc:source element to
> store the reference number of the original document, I can use SPARQL in
> risearch.
> 
> select ?RefNo ?source from <#ri>
> where {
> ?RefNo <http://purl.org/dc/elements/1.1/source> ?source .
> FILTER regex (?source,"MyMatchingString","i")
> }
> 
> to find occurrences where there is a match to MyMatchingString.
> I hope I am beginning to understand this.
> Thanks
> - - - - -
> # Richard Higgins
> # Durham University Library
> # Archives & Special Collections
> # Palace Green
> # Durham
> # DH1 3RN
> # E-Mail: r.i.higg...@durham.ac.uk 
> 
> -----Original Message-----
> From: aj...@virginia.edu [mailto:aj...@virginia.edu] 
> Sent: 14 November 2011 14:26
> To: Support and info exchange list for Fedora users.
> Subject: Re: [fcrepo-user] Wild card searching of Resource Index
> 
> I'm sorry-- this was a terribly confusing remark that I sent without
> paying attention. What I meant to write was:
> 
> It is simply not the case that Resource Index RDF objects cannot be
> literal. Examine the results of a DESCRIBE query on your own objects and
> you will see literal RDF values taken from Dublin Core.
> 
> I somehow stumbled as I typed.
> 
> ---
> A. Soroka
> Online Library Environment
> the University of Virginia Library
> 
> 
> 
> 
> On Nov 14, 2011, at 9:22 AM, aj...@virginia.edu wrote:
> 
>> It is simply not the case that RELS-EXT objects cannot be literal.
> Examine the RELS-EXT of your own objects and you will see literal RDF
> values taken from Dublin Core.
>> 
>> ---
>> A. Soroka
>> Online Library Environment
>> the University of Virginia Library
>> 
>> 
>> 
>> 
>> On Nov 14, 2011, at 9:18 AM, HIGGINS R.I. wrote:
>> 
>>> Now, is this because you can only have URIs in rels-ext values and
> SPARQLs regex doesn't works with URIs?
>> 
>> 
>> 
> ------------------------------------------------------------------------
> ------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> Fedora-commons-users mailing list
>> Fedora-commons-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> 
> 
> ------------------------------------------------------------------------
> ------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Fedora-commons-users mailing list
> Fedora-commons-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/fedora-commons-users


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Fedora-commons-users mailing list
Fedora-commons-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-users

Reply via email to