Child pages
  • Fedora Resource Index

Versions Compared

Key

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

...

Select objects, modification dates, and titles. Start with the 50th Fedora object, and get the next 25 objects: %%commentbox

No Format
select     $object $modified $title $type
from       <#ri>
where      $object <rdf:type> $type
and        $object <rdf:type> <fedora-model:FedoraObject>
and        $object <fedora-view:lastModifiedDate> $modified
and        $object <dc:title> $title
order by   $title $object
limit      25
offset     50 
}}}
%%

Count all objects that are members of the collection object 

Count all objects that are members of the collection object iu-dlp:2601:

...

No Format

select count(
  select  $object
  from    <#ri>
  where   $object 
          <info:fedora/fedora-system:def/relations-external#isMemberOfCollection>
          <info:fedora/iu-dlp:2601>
  )
from <#ri>
where $a $b $c

%%