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

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

From: Stian Soiland-Reyes via GitHub <sysbot+gh@w3.org>
Date: Mon, 25 Jan 2016 16:44:02 +0000
To: public-annotation@w3.org
Message-ID: <issue_comment.created-174576427-1453740241-sysbot+gh@w3.org>
The RDFS definition of `dcterms:W3CDTF` shows it as a `rdfs:Datatype` 
- so it would indeed be valid to use it  `@type` on a literal (and 
wrong to use it as a property as COMBINE did)

<http://dublincore.org/usage/terms/history/#W3CDTF-003> ;
"2000-07-11"^^<http://www.w3.org/2001/XMLSchema#date> ;
"2008-01-14"^^<http://www.w3.org/2001/XMLSchema#date> ;
    a rdfs:Datatype ;
    rdfs:comment "The set of dates and times constructed according to 
the W3C Date and Time Formats Specification."@en ;
    rdfs:isDefinedBy <http://purl.org/dc/terms/> ;
    rdfs:label "W3C-DTF"@en ;
    rdfs:seeAlso <http://www.w3.org/TR/NOTE-datetime> .

aka it could be any of these:

      YYYY (eg 1997)
   Year and month:
      YYYY-MM (eg 1997-07)
   Complete date:
      YYYY-MM-DD (eg 1997-07-16)
   Complete date plus hours and minutes:
      YYYY-MM-DDThh:mmTZD (eg 1997-07-16T19:20+01:00)
   Complete date plus hours, minutes and seconds:
      YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)
   Complete date plus hours, minutes, seconds and a decimal fraction 
of a second
      YYYY-MM-DDThh:mm:ss.sTZD (eg 1997-07-16T19:20:30.45+01:00)

It would still be confusing without specifying deeper how to use 
`dcterms:W3CDTF` as the DC Terms page is not very helpful.

GitHub Notification of comment by stain
Please view or discuss this issue at 
 using your GitHub account
Received on Monday, 25 January 2016 16:44:08 UTC

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