Collection, which is also another ldp:BasicContainer. Code Block |
---|
curl -i -XPUT -H"Content-Type: text/turtle" --data-binary @pcdm- | objectcollection.ttl localhost:8080/fcrepo/rest/collections/poe/ |
Where "pcdm-collection.ttl" follows: Code Block |
---|
@prefix pcdm: <http://pcdm.org/models#>
<> a pcdm:Collection . |
Lastly, create an ldp:IndirectContainer, "members/" that will facilitate the establishment of relationships between "poe/" and the collection members. Code Block |
---|
curl -i -XPUT -H"Content-Type: text/turtle" --data-binary @ldp-indirect.ttl localhost:8080/fcrepo/rest/collections/poe/members/ |
Where "ldp-indirect.ttl" follows: Code Block |
---|
| @prefix ldp: <http://www.w3.org/ns/ldp#>
@prefix pcdm: <http://pcdm.org/models#>
@prefix ore: <http://www.openarchives.org/ore/terms/>
<> a ldp:IndirectContainer, pcdm:Object ;
ldp:membershipResource </fcrepo/rest/collections/poe/> ;
ldp:hasMemberRelation pcdm:hasMember ;
ldp:insertedContentRelation ore:proxyFor . |
Similar to the previously described ldp: |