Child pages
  • Fedora Resource Index

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

No Format
select count(
  select  $object
  from    <#ri>
  where   $object 
          <info:fedora/fedora-system:def/relations-external#isMemberOfCollection>
          <info:fedora/iudl:10>
  )
from <#ri>
where $a $b $c

.h2 Encoding queries as URLs

The version of risearch that comes with Fedora 2.1 doesn't display the encoded-URL version of the query. To manually encode a query, make the following substitutions:

Original

Replaced

:

%3A

/

%2F

#

%23

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="c1a8115b-3026-4bd7-a2b3-9d93f5a41656"><ac:plain-text-body><![CDATA[

[space]

+

]]></ac:plain-text-body></ac:structured-macro>

The encoded query should be placed after a suitable base URL like

No Format

http://mallow.dlib.indiana.edu:9090/fedora/risearch?type=tuples&lang=itql&format=Sparql&query=