- From: Gregg Kellogg <gregg@kellogg-assoc.com>
- Date: Wed, 28 Sep 2011 11:25:29 -0400
- To: Markus Lanthaler <markus.lanthaler@gmx.net>
- CC: "public-linked-json@w3.org" <public-linked-json@w3.org>
In such case, I would probably se t the datatype in @coerce. While not unreasonable, this would complicate the processing instructions a bit. Gregg Kellogg Sent from my iPad On Sep 28, 2011, at 5:56 AM, "Markus Lanthaler" <markus.lanthaler@gmx.net> wrote: > Reading the current spec, there is a lot of repetition in "Multiple Typed > Literals for a Single Property" > (http://json-ld.org/spec/latest/#multiple-typed-literals-for-a-single-proper > ty). > > Couldn't we simplify this drastically by allowing arrays of literals? > Something like > > { > ... > "@subject": "http://example.org/articles/8", > "modified": > { > "@literal": [ > "2010-05-29T14:17:39+02:00", > "2010-05-30T09:21:28-04:00" > ], > "@datatype": "dateTime" > } > > ... > } > > > Instead of having to write > > { > ... > "@subject": "http://example.org/articles/8", > "modified": > [ > { > "@literal": "2010-05-29T14:17:39+02:00", > "@datatype": "dateTime" > }, > { > "@literal": "2010-05-30T09:21:28-04:00", > "@datatype": "dateTime" > } > ] > ... > } > > > > -- > Markus Lanthaler > @markuslanthaler > > > > >
Received on Wednesday, 28 September 2011 15:24:51 UTC