I think you have to replace the "#" with "%23" (# escape character)
Your query should be: http://localhost:8080/fedora/risearch?type=tuples&lang=iTQL&format=Sparql&query=select $collTitle $member $memberTitle from <%23ri> where <info:fedora/ts:2000> <dc:title> $collTitle and $member <fedora-rels-ext:isPartOf> <info:fedora/ts:2000> and $member <dc:title> $memberTitle Thank you and best regards, Mohammed Abo Ouda -----Original Message----- From: Benjamin Ryan [mailto:[email protected]] Sent: Saturday, May 01, 2010 9:03 AM To: [email protected] Subject: [Fedora-commons-users] RI Search query syntax Hi, I am trying to use the RI search and cannot seem to get the syntax right. The query I am using is: http://localhost:8080/fedora/risearch?type=tuples&lang=iTQL&format=Sparql&query=select $collTitle $member $memberTitle from <#ri% where <info:fedora/ts:2000> <dc:title> $collTitle and $member <fedora-rels-ext:isPartOf> <info:fedora/ts:2000> and $member <dc:title> $memberTitle The query works fine through the web interface but not when I call it directly. The error message is: [1,46] expecting '(', resource The query also works if I store the query in a file on the web server and then use the URL. Any help would be appreciated. Regards, Ben --------------------------------------------------------------------- Dr Ben Ryan Timescapes Archive Technical Officer School of Sociology and Social Policy Faculty of Education, Social Sciences and Law Social Science Building The University of Leeds Leeds LS2 9JT Email: [email protected]<mailto:[email protected]> Tel: 0113 343 7319 Website: http://www.timescapes.leeds.ac.uk<http://www.timescapes.leeds.ac.uk/> --------------------------------------------------------------------- ------------------------------------------------------------------------------ _______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
------------------------------------------------------------------------------
_______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
