- From: Roger Menday <Roger.Menday@uk.fujitsu.com>
- Date: Mon, 13 Jan 2014 17:39:00 +0000
- To: "public-ldp-wg@w3.org Working Group" <public-ldp-wg@w3.org>
- Message-ID: <4851C35A-4255-4EAD-AC15-11D1F8C50DC7@uk.fujitsu.com>
hello,
Following up on the long call this afternoon ...
In the following two examples, where/why is it necessary to use client preference for materializing ldp:contains ?
1. 'DirectContainer' case (such as a Networth in the spec):
<>
a o:NetWorth;
o:netWorthOf <http://example.org/users/JohnZSmith>;
o:asset
<assetContainer/a1>,
<assetContainer/a2>;
o:liability
<liabilityContainer/l1>,
<liabilityContainer/l2>,
<liabilityContainer/l3>.
<assetContainer/>
a ldp:DirectContainer;
dcterms:title "The assets of JohnZSmith";
ldp:containerResource <>;
ldp:containsRelation o:asset.
<liabilityContainer/>
a ldp:DirectContainer;
dcterms:title "The liabilities of JohnZSmith";
ldp:containerResource <>;
ldp:containsRelation o:liability.
POSTing to the LDPCs (<assetContainer/>, <liabilityContainer/>) creates new Assets and Liabilities.
The response has the Location: of these newly created resources.
If I GET the LDPR, I see domain-specific <asset> and <liabilities> triples.
If I GET the LDPC, I see ldp:contains triples.
2. 'SimpleContainer' case:
<>
a o:Box, ldp:SimpleContainer;
o:boxOwner <http://example.org/users/JohnZSmith>;
ldp:contains
<item/m1>,
<item/m2>;
In this case, the LDPR and LDPC are the same thing, and by the ldp:contains triples are found when GETting.
There isn't a duplication issue.
Roger
Attachments
- application/pkcs7-signature attachment: smime.p7s
Received on Monday, 13 January 2014 17:39:12 UTC