- From: Jim Earley <xml.jim@gmail.com>
- Date: Sun, 7 Apr 2013 09:17:54 -0600
- To: Mo McRoberts <Mo.McRoberts@bbc.co.uk>
- Cc: Jonas Öberg <jonas@shuttleworthfoundation.org>, "Myles, Stuart" <SMyles@ap.org>, "public-odrl@w3.org" <public-odrl@w3.org>
- Message-ID: <CAFbxkZS5w0O0EgcFr7HTmF+goBimeH1Ci3zoPyLU_GWeYAi7sg@mail.gmail.com>
Mo, et al., To your point about introducing other semantics into a rights document: we've extended the schema for our customers in various ways, including adding rights semantics that are defined in different namespaces. Could I propose some additional structures in the JSON encoding that would support this? One way I've seen this handled is to use Java notation for namespaced elements, e.g., "{http://w3.org/ns/odrl/2/}asset":"..." Obviously, this makes the JSON difficult to read, and bloats the payload. Another way to support this without the extra "noise" for each asset could be do add the following to the JSON encoding: { "namespaces":[ {"o":"http://w3.org/ns/odrl/2/"}, {"e":"http://www.example.com"} ], "assets": [ {"uid":"12345", "relation":"e:relationType"} ] } Regards, Jim Earley On Fri, Apr 5, 2013 at 1:14 PM, Mo McRoberts <Mo.McRoberts@bbc.co.uk> wrote: > Hi Jonas, > > On Fri 2013-Apr-05, at 19:45, Jonas Öberg < > jonas@shuttleworthfoundation.org> > wrote: > > > Let's say for instance that we create a Profile that introduces the > concept of a fiduciary Role. It doesn't feel appropriate to express this as > > > > "fiduciary" : " http://example.com/sony:10" > > > > as this risks collisions with other Profiles. > > > > It's entirely possible that my thinking here is off, so I'd be keen to > hear your thoughts on this and would be happy to incorporate this thinking > in the draft once we agree on the appropriate route! > > It was exactly this issue which made expressing RDF in JSON was so > troublesome for a long time; you either ended up being very ambiguous and > risking clashes or misinterpretation, or you were too verbose and nobody > wanted to work with the data. JSON-LD was created to try to bridge that > gap, and (though I wasn't involved in it at all) I think it manages to do > that quite neatly. > > Maybe there's a way, even if one doesn't actually use JSON-LD (which might > be worth exploring anyway, of course), that its approach could be borrowed? > i.e., specify that the JSON expression of ODRL references a 'context' > document (published on w3.org alongside the other vocabs) which contains > the necessary information to map the short-and-friendly names to the > fully-qualified ones? > > M. > > -- > Mo McRoberts - Technical Lead - The Space > 0141 422 6036 (Internal: 01-26036) - PGP key CEBCF03E, > Zone 1.08, BBC Scotland, Pacific Quay, Glasgow, G51 1DA > Project Office: MC3 D4/5, Media Centre, 201 Wood Lane, London W12 7TQ, > > > -- > Mo McRoberts - Analyst - BBC Archive Development, > Zone 1.08, BBC Scotland, 40 Pacific Quay, Glasgow G51 1DA, > MC3 D4, Media Centre, 201 Wood Lane, London W12 7TQ, > 0141 422 6036 (Internal: 01-26036) - PGP key CEBCF03E > > > > ----------------------------- > http://www.bbc.co.uk > This e-mail (and any attachments) is confidential and > may contain personal views which are not the views of the BBC unless > specifically stated. > If you have received it in > error, please delete it from your system. > Do not use, copy or disclose the > information in any way nor act in reliance on it and notify the sender > immediately. > Please note that the BBC monitors e-mails > sent or received. > Further communication will signify your consent to > this. > ----------------------------- > >
Received on Sunday, 7 April 2013 15:18:27 UTC