As in the collections example, begin with creating an ldp:IndirectContainer, "orderProxies/", as a child of the book resource. This new IndirectContainer will facilitate the auto-creation of triples that will define the membership relationship between the book, "raven/", and its pages. Then, the new proxy resources that will be created within this IndirectContainer will be used to establish an ordering of the books pages. Note: This example assumes the previous creation of "/objects/raven/" and the cover and page resources from the Book example in this series. Image Added Code Block |
---|
curl -i -XPUT -H"Content-Type: text/turtle" --data-binary @ldp-ordering-indirect.ttl localhost:8080/rest/objects/raven/orderProxies/ |
|