You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Learning Outcomes

  • Deploying Fedora
  • Explore core and external features
  • Gain insight into content modeling (PCDM)

Prerequisites

Either

  1. Vagrant setup:
  2. Or, Standalone apps setup

Explore Features

Using Google Chrome PostMan app, execute the following requests (attached)

  1. curl -XGET localhost:8080/fcrepo/rest/objects/
  2. curl -XPUT -H"Content-Type: text/turtle" localhost:8080/fcrepo/rest/collections/poe/members/
  3. ...

SPARQL Query

In Fuseki console (localhost:3030)

  1. Select "Control Panel"
  2. Select Dataset "/test"
  3. Select Output "Text"
  4. Select "Force the accept header text/plain regardless"
  5. Query

    prefix pcdm: <http://pcdm.org/models#>
    select ?work 
    where {
      <http://localhost:8080/fcrepo/rest/collections/poe> pcdm:hasMember ?work .
      ?work pcdm:hasFiles ?files .
    }
    group by ?work 
    having (count(?files) > 1)

Using Admin Features

Transactions (docs)

Versioning (docs)

Create a version with a label

curl -XPOST http://localhost:8080/rest/item/fcr:versions/my-label

Import/Export (docs)

Additional Resources

  • No labels