Hi

Thank you very much for your quick response.

I run the query with replacing my:id in 3 places with pid of my collection 
object. But I got the following exception


500 Internal Server Error
Encountered "" at line 2, column 8. Was expecting: "{" ...  

--------------------------------------------------------------------------------

org.trippi.TrippiException: Encountered "" at line 2, column 8.
Was expecting:
    "{" ...
    
        at org.trippi.impl.mulgara.MulgaraSession.query(MulgaraSession.java:158)
        at 
org.trippi.impl.base.ConcurrentTriplestoreReader.findTuples(ConcurrentTriplestoreReader.java:79)
        at 
fedora.server.resourceIndex.ResourceIndexImpl.findTuples(ResourceIndexImpl.java:280)
        at 
fedora.server.resourceIndex.ResourceIndexModule.findTuples(ResourceIndexModule.java:297)
        at org.trippi.server.TrippiServer.find(TrippiServer.java:119)
        at org.trippi.server.http.TrippiServlet.doFind(TrippiServlet.java:512)
        at org.trippi.server.http.TrippiServlet.doGet(TrippiServlet.java:377)


Regards
Nilani

Nilani Ganeshwaran
Institutional Repository Technical Support and Software Developer
 
Tel: +44 (0)161 275 8728 (internal x58728)
Email: [email protected]
Web: http://www.manchester.ac.uk/institutionalrepositoryproject
-----Original Message-----
From: arne anka [mailto:[email protected]] 
Sent: 26 January 2009 11:19
To: NilaniGaneshwaran; [email protected]
Subject: Re: [Fedora-commons-developers] sparql

my objects define a rels:ext ds and i search for members of a collection
like this:

select $collTitle $collDesc $member $memberTitle $memberSubject $memberID
 from   <#ri>
where  <info:fedora/my:id> <dc:title>                   $collTitle
and    <info:fedora/my:id> <dc:description>             $collDesc
and    $member                        <fedora-rels-ext:isMemberOf>
<info:fedora/my:id>
and    $member                        <dc:title>
$memberTitle
and    $member                        <dc:subject>
$memberSubject
and    $member                        <dc:identifier>
$memberID


i don't know how helpful this might be:
> http://www.w3.org/TR/rdf-sparql-query/

what i found immensely helpful (not only in respect of sparql), was the
repomman tutorial of richard green -- which, as usually, i fail to find at
the fedora site, though it is there to be downloaded (mabye i am too
stupid to see it, but is there a search facility somewhere?).

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Fedora-commons-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to