Requires Unix like terminal access.
Below we assume you're running Fedora at http://localhost:8080, be sure to swap out the address with the correct value if you are not running Fedora locally. Here are some basic recipes:
Describe the root Object of the Repository
Get the Response as "application/rdf+json" rather than the default "application/n3"
You can get responses in the following format's:
- application/n3 (or text/rdf+n3 or text/n3)
Create a new Object "test" as a child of the root Object
Now that Object "test" exists we can create a child of "test" using the same command:
Ingest a Data-stream
Get a Data-streams content
Purge a Data-stream
Add a new property to the "test" Object
Please refer to https://wiki.duraspace.org/display/FF/REST+API for more information on what can be done with the REST API and cURL.
And checkout https://wiki.duraspace.org/display/FF/Object+properties+and+SPARQL-UPDATE for how to use the SPARQL update in greater detail.