Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Add background section

...

Table of Contents

 

Background: LDP and its mapping to Fedora objects

 

The LDP specification lays out the following concepts, interaction modes, and constraints on content:

LDP ConceptLDP Interaction ModesConstraints on Content
Container (LDPC)LDPC, LDP-RSRDF, must contain LDP membership triples for all members
Non-RDF Source (LDP-NR)LDPR, LDP-NRnone
Non-Container RDF Source (LDP-RS-NC)LDPR, LDP-RSRDF

The last concept "Non-Container RDF Source" isn't given a specific name in the LDP spec, so we call it an LDP-RS-NC for the sake of discussion.

The defining characteristics of the interaction modes described in LDP are briefly summarized as follows

  • LDPC interaction mode defines ability to create resources within the container via HTTP POST, remove them via HTTP DELETE, and places requirements on the HTTP headers of the LDPC resource to advertise its role as a container.
  • LDPR interaction mode does not imply the creation new resources with HTTP POST on an LDPR
  • LDP-NR interaction mode implies POST, PUT, and PATCH do not have any special semantics; a resource is nothing more than a binary blob with a media type
  • LDP-RS interaction mode implies that POST, PUT, GET, and PATCH are logical RDF operations with enhanced semantics and behaviour:
    • LDP servers must interpret relative URIs as relative to the resource (for example, allowing null relative URIs "<>" to refer to the to-be-created resource URI)
    • LDP Servers may adopt standards such as SPARQL/Update for update semantics via methods such as PATCH
    • LDP Servers must provide, at minimum, text/turtle and application/ld+json representations when requested via GET.

At present, the mapping of Fedora concepts to LDP Concepts are as follows

LDP ConceptFedora ConceptLDP Interaction ModesConstraints on Content
LDPCObjectLDPC, LDP-RSRDF, must contain LDP membership triples, subjects must be repository objects, subjects must be the URI of the object
LDP-NRDatasteamLDPR, LDP-NRnone
LDP-RS-NC---

The issue at hand is whether Fedora should support the LDP construct of an RDF source that is not also a container (LDP-RS-NC), and how such an resource in LDP would map to a concept in Fedora.

Proposal:  Fedora container object with a child resource at a specified path redirecting to external content

...