Module: Cul::Hydra::Models

Defined in:
app/models/concerns/cul/hydra/models.rb,
app/models/concerns/cul/hydra/models/rels_int.rb

Defined Under Namespace

Modules: Aggregator, Common, ImageResource, LinkableResources, RelsInt, Resource

Constant Summary collapse

AGGREGATOR_TYPE =
RDF::CUL.Aggregator
RESOURCE_TYPE =
RDF::CUL.Resource
MEMBER_OF =
RDF::CUL.memberOf
MEMBER_SPARQL =
<<-SPARQL
  SELECT ?pid WHERE { ?pid <http://purl.oclc.org/NET/CUL/memberOf> <info:fedora/%PID%> }
SPARQL
MEMBER_ITQL =
<<-ITQL
  select $pid from <#ri> where $pid <http://purl.oclc.org/NET/CUL/memberOf> <info:fedora/%PID%>
ITQL