We agree on some restrictions:
dcterms:modified
value, while ETags for LDP-NR are based on the md5sum of the file content.dct:hasFormat
/dct:isFormatOf
) to the actual LDP-NR (URI is build by appending the file extension according the content type)rel='ldp:constrainedBy'
-Link) is fulfilled by pointing to this page.Link: <http://wiki.apache.org/marmotta/LDPImplementationReport/2014-09-16>; rel="http://www.w3.org/ns/ldp#constrainedBy"
ldp:contains
will result in a HTTP 409 Conflict
The compliance report for this version is available in the Implementation Conformance Report.
For accessing this experimental feature you'd need to follow these instructions:
First install all artifacts:
mvn install
And launch the webapp (at launchers/marmotta-webapp/
) with the experimental features enabled:
mvn clean tomcat7:run -Pexperimental,kiwi,cleanall
Although not strictly required, it would be good to have some background what's happening under the hood with these commands. For that, please refer to the relevant documents listed above.
curl -i -X POST -d @src/test/resources/test.ttl -H "Content-Type: text/turtle" -H "Slug: test" http://localhost:8080/ldp/container1 curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container1/test |
curl -i -X POST --data-binary @src/test/resources/test.png -H "Content-Type: image/png" -H "Slug: test2" http://localhost:8080/ldp/container2 curl -i http://localhost:8080/ldp/container2/test2 curl -i -H "Accept: text/turtle" http://localhost:8080/ldp/container2/test2.png curl -i -H "Accept: image/png" http://localhost:8080/ldp/container2/test2.png |