- From: Richard Cyganiak <richard@cyganiak.de>
- Date: Thu, 9 Jun 2011 10:11:24 +0100
- To: Sandro Hawke <sandro@w3.org>, Andy Seaborne <andy.seaborne@epimorphics.com>
- Cc: public-rdf-wg <public-rdf-wg@w3.org>
Sandro, Andy, On 7 Jun 2011, at 22:48, Sandro Hawke wrote: > I think there is a large class of users that would appreciate being able > to write: > > @prefix <http://xmlns.com/foaf/0.1/>. > [] a Person; name "Sandro Hawke", mbox <mailto:sandro@w3.org>. > [] a Person; name "Ivan Herman". mbox <mailto:ivan@w3.org>. > > Note that I left out a whole lot of colons. Turtle is not the only language that requires unnecessary extra punctuation. Off the top of my head, other examples are XML (unnecessary quotes around attributes), JSON (unnecessary quotes around property names), PHP (unnecessary dollar signs before variables), Lisp (unnecessary parentheses). People complain about it but make do. So I'm unconvinced that getting rid of the colons is worth the effort. On 8 Jun 2011, at 14:57, Andy Seaborne wrote: > There are important data items that does not have convenient forms : dates and dateTimes. > > Would it be useful to allow bare dates/dateTimes? > > :x dc:date 2010-06-08 . I would like to see that. It would complete the set of syntactic sugar for the commonly used XSD types, and I'd hope that it'd eventually also make its way into SPARQL implementations. Although there might be problems here; this is valid SPARQL: SELECT (2011-06-09 as ?today) WHERE { } but it doesn't do what you think :-) Richard
Received on Thursday, 9 June 2011 09:11:55 UTC