W3C home > Mailing lists > Public > public-linked-json@w3.org > October 2011

Prefix or term definition?

From: Markus Lanthaler <markus.lanthaler@gmx.net>
Date: Wed, 5 Oct 2011 18:18:32 +0200
To: "'Linked JSON'" <public-linked-json@w3.org>
Message-ID: <043c01cc837a$6d769b00$4863d100$@lanthaler@gmx.net>
I'm not sure if this is an issue, but currently there's no way to specify if
a mapping in the context is for a prefix or a term. So, what would be the
result of this (admittedly silly) example.

  "@context": { "payment": "http://example.com/payment/" },
  "payment:payment": "done",
  "payment:amount": 20.4

Assuming that I interpret the spec correctly I would expect the following:

<> http://example.com/payment/http://example.com/payment/ "done"
<> http://example.com/payment/amount "20.4"^^xsd:double

Markus Lanthaler
Received on Wednesday, 5 October 2011 16:25:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:32 UTC