Skip to content

Instantly share code, notes, and snippets.

Created December 9, 2013 15:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/66c779451c94f90d271e to your computer and use it in GitHub Desktop.
Save anonymous/66c779451c94f90d271e to your computer and use it in GitHub Desktop.
$ curl -i http://example.org/netWorth/nw1/
...
Content-Type: text/turtle; charset=UTF-8
Link: <http://www.w3.org/ns/ldp#Resource>; rel="type"
...
<>
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:Container;
dcterms:title "The assets of JohnZSmith";
ldp:containerResource <..>;
ldp:containsRelation o:asset;
ldp:insertedContentRelation ldp:MemberSubject .
<liabilityContainer/>
a ldp:Container;
dcterms:title "The liabilities of JohnZSmith";
ldp:containerResource <..>;
ldp:containsRelation o:liability;
ldp:insertedContentRelation ldp:MemberSubject.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment