Child pages
  • Fedora Resource Index

Versions Compared

Key

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

...

Count all non-deleted items in a collection:

No Format

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

Find all Service Deployments

No Format

select $object from <#ri>
where  $object <fedora-model:hasModel> <info:fedora/fedora-system:ServiceDeployment-3.0>

Encoding queries as URLs

All RI queries must be URL-encoded (with a tool like this one) before being added to a behavior mechanism. To manually encode a query, make the following substitutions:

Original

Replaced

#

%23

$

%24

(

%28

)

%29

/

%2F

:

%3A

<

%3C

>

%3E

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="fe444982727240fa-423e9224-4fbd43e1-8aa9ab9e-5236e59a3a1bf7c9d03eba4b"><ac:plain-text-body><![CDATA[

[space]

+

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

...