Action RI Search Wrapper

Assigned
ABR+JRG

Prev assigned

Tasks adressed
["TaskA.5"]

Time estimated
2md

Time used
1md

Priority
1

Status
Started

Iteration
14

Notes

Problem

Mjoelner does not want to speak to the Ressource index themselves. A webservice which encodes the most common requests should be made.

The requests we know of now are:

All these should return lists of PID+title. All should disregard objects in state D (Deleted).

Notes

select $object $title
from <#ri>
where
  (
    trans(
      $subtype <http://doms.statsbiblioteket.dk/relations/default/0/1/#extendsModel> <info:fedora/doms:ContentModel_QuadrigaFile> and
      $subtype  <http://doms.statsbiblioteket.dk/relations/default/0/1/#extendsModel> $temp
    )
    or $subtype <http://doms.statsbiblioteket.dk/relations/default/0/1/#extendsModel> <info:fedora/doms:ContentModel_QuadrigaFile>
    or $subtype <mulgara:is> <info:fedora/doms:ContentModel_QuadrigaFile>
  )
  and (
    $object <http://doms.statsbiblioteket.dk/relations/default/0/1/#isTemplateFor> $subtype or
    $object <http://doms.statsbiblioteket.dk/relations/default/0/1/#isTemplateFor> <info:fedora/doms:ContentModel_QuadrigaFile> 
  )
  and $object <http://doms.statsbiblioteket.dk/relations/default/0/1/#isPartOfCollection> <info:fedora/doms:example_Tape_Collection>
  minus($object <info:fedora/fedora-system:def/model#state> <info:fedora/fedora-system:def/model#Deleted>)
  and $object <http://purl.org/dc/elements/1.1/title> $title 

Checklist For Working On An Action

The Life Cycle of an Action:

Please make sure that you address the below issues, when working on an action: