Uploaded image for project: 'Fedora Repository Project'
  1. Fedora Repository Project
  2. FCREPO-2968

Include rdf:type values in Link rel=type header

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Fedora 5.0.0
    • Fix Version/s: Fedora 5.1.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently the Link header with rel="type" in fcrepo only includes LDP and Memento types. It would be helpful to clients if the header included rdf:type values so that they could detect locally meaningful resource types, such as pcdm:Object, etc.

      This would allow for more efficient decision making based off the results of a lightweight HEAD request rather than needing to retrieve the entire RDF body for the resource.

       

      The desired functionality is as follows.  In addition to mandatory link rel=type headers required by the fedora specifications (LDP, memento, etc):

      • On LDP-RS (RDFSource) resources, Fedora shall expose link rel=type headers for all non-server-managed rdf:type triples found in its body whose subject is the LDP-RS
      • On LDP-NR (NonRDFSource) resources, Fedora shall expose Link rel=type headers for all non-server-managed rdf:type triples found in the body of its descriptive LDP-RS whose subject is the LDP-NR
      • On LDP-RS resources that describe an LDP-NR, Fedora shall expose Link rel=type headers for all non-server-managed rdf:type triples found in its body whose subject is either the LDP-RS, or the described LDP-NR

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                awoods Andrew Woods
                Reporter:
                ben.pennell Ben Pennell
                Reviewer:
                Ben Pennell
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: