W3C home > Mailing lists > Public > public-linked-json@w3.org > January 2012

Array of IRIs is not supported by playground and not specified in the spec (ISSUE-54)

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Thu, 12 Jan 2012 20:32:47 +0800
To: "'Linked JSON'" <public-linked-json@w3.org>
Message-ID: <008101ccd126$4d2f7520$e78e5f60$@lanthaler@gmx.net>
Looking at Ivan's example I think I've found a bug in the playground and
something that is not in the spec. Look at the following example:

{
   "something" : { "@id":
      [
         "http://www.test.com/a",
         "http://www.test.com/b"
      ]
   }
}

I think the output should be:

<bn> <something> <..a>,
                 <..b> .

The playground fails to handle this. This case is similar to @list and
should thus be supported. We might wanna support this also for @value:

{
   "something" : {
     "@value":  [ "a", " b", "c" ],
     "@language": "en"
   }
}

Strange enough this doesn't fail but produces the following Turtle output in
the playgorund:

_:c14n0
   <something> "a, b,c"@en.


I've created ISSUE-54 for this.



--
Markus Lanthaler
@markuslanthaler
Received on Thursday, 12 January 2012 12:40:13 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:25:36 GMT