github fcrepo/fcrepo fedora-6-demo-1
Fedora 6 Demo #1: Read and Write RDF

latest releases: fcrepo-6.5.0, fcrepo-6.5.0-release, fcrepo-6.5.0-RC-1...
pre-release4 years ago

This release represents a key milestone in the Fedora 6 development. For the first time we are able to read and write RDF resources to the repository root.

NB: This demo depends on Java 11. Also on OSX, double-clicking on the jar does not work. You must use the commands specified below in your terminal. Also be aware that nesting of containers and the display of containment relationships is not yet working, but will be coming soon.

java -jar fcrepo-webapp-6.0.0-SNAPSHOT-jetty-console.jar --headless

*Use -Dfcrepo.ocfl.storage.root.dir=/path/to/root  to specify your OCFL storage root.*

# get repository root
curl -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest -i

# PUT a new RDF source
curl -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest/test -v  -H "Content-Type: text/turtle"  -X PUT --data "<> <http://purl.org/dc/elements/1.1/title> 'My Test RDF'"

# Retrieve the RDF source
curl -u fedoraAdmin:fedoraAdmin http://localhost:8080/rest/test -i

Don't miss a new fcrepo release

NewReleases is sending notifications on new releases.