...
Code Block | ||
---|---|---|
| ||
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix fedora: <http://fedora.info/definitions/v4/repository#> . @prefix ldp: <http://www.w3.org/ns/ldp#> . <http://localhost:8080/rest/test> ... <http://example.com/awesome/test> "blahwaffle" ; ... |
Also notice there are built in prefixes for common namespaces. Now restart Fedora with the custom namespaces yml enabled:
...
Code Block |
---|
curl -ufedoraAdmin:fedoraAdmin http://localhost:8080/rest/test @prefix justokay: <http://example.com/awesome/> . @prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> . @prefix fedora: <http://fedora.info/definitions/v4/repository#> . @prefix ldp: <http://www.w3.org/ns/ldp#> . <http://localhost:8080/rest/test> ... justokay:test "blahwaffle" ; ... |