Hi Stuart You're missing the "from" try: select $member from <#ri> where $member <rel:isCollection> 'false' Regards Steve
-----Original Message----- From: Stuart James Chalk [mailto:[email protected]] Sent: 26 May 2010 19:53 To: [email protected] Subject: [Fedora-commons-users] Encoding risearch issue I am trying to send a search to the risearch service and I cant get it to return anything but an error. The search is "select $member <#ri> where $member <rel:isCollection> 'false' " (yes, I have added a new predicate to RELS-EXT - just temporary) Even if I URL encode the query string it will not work i.e. http://ecenter.coas.unf.edu:8080/fedora/risearch?type=tuples <http://ecenter.coas.unf.edu:8080/fedora/risearch?type=tuples&> &lang=itql&format=Sparql&query=select+%24member+%3C%23ri%3E+where+%24member+ %3Crel%3AisCollection%3E+%27false%27 Any ideas? I thought it might be the quotes but I replaced that for a variable and that did not change the problem. The error given is "Parameter was not a query". I am using the mulgara version that came with Fedora 3.3. Stuart Chalk, Ph.D. Associate Professor of Chemistry Department of Chemistry, University of North Florida 1 UNF Drive, Jacksonville, FL 32224 USA P: 904-620-1938 F: 904-620-3535 E: [email protected] W: http://www.unf.edu/coas/chemistry/
------------------------------------------------------------------------------
_______________________________________________ Fedora-commons-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fedora-commons-users
