W3C home > Mailing lists > Public > public-annotation@w3.org > January 2016

Re: [web-annotation] Using xsd:date, too, in the model?

From: Ivan Herman via GitHub <sysbot+gh@w3.org>
Date: Tue, 19 Jan 2016 19:05:38 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-172953521-1453230337-sysbot+gh@w3.org>

> I'm not in favor. If there is an option for multiple formats, then 
it would be advantageous to have those formats explicit. But that 
means using the JSON-LD @value/@type pattern: {"@value": "2016-01-19",
 "@type": "xsd:date"} ... which means explaining it and the inevitable
 confusion between value/@value and type/@type. If it's not explicit 
anywhere, then we'll end up with garbage in there.

True, there is a danger for garbage. But there is also a (possibly 
higher) danger of people using only dates, without time when the time 
section is meaningless. Better be prepared by making this official.

We can make it explicit in the text for the model. In the vocab we can
 do something more complex. We can even use OWL to define some sort of
 a derived datatype.

GitHub Notification of comment by iherman
Please view or discuss this issue at 
 using your GitHub account
Received on Tuesday, 19 January 2016 19:05:40 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:54:43 UTC