- From: Alistair Miles <alistair.miles@zoo.ox.ac.uk>
- Date: Thu, 13 Mar 2008 10:25:31 +0000
- To: public-rdf-dawg-comments@w3.org
Hi all,
I'm sure you must have talked about this already, but I searched the
groups lists and couldn't find anything.
Comment on:
http://www.w3.org/TR/2007/NOTE-rdf-sparql-json-res-20070618/#variable-binding-results
"""
RDF Literal S with language L
XML: <binding><literal xml:lang=" L "> S </literal><binding>
JSON: "name" : {"type":"literal", "xml:lang":" L ", "value":" S"}
"""
Please can it be...
JSON: "name" : {"type":"literal", "lang":" L ", "value":" S"}
.. instead. It's a matter of convenience, but I'd like to be able to use
the dot operator to access the language tag in a plain literal variable
binding. Having to do binding["xml:lang"] is a real pain.
Otherwise, thanks for the great work.
Alistair.
--
Alistair Miles
Senior Computing Officer
Image Bioinformatics Research Group
Department of Zoology
The Tinbergen Building
University of Oxford
South Parks Road
Oxford
OX1 3PS
United Kingdom
Web: http://purl.org/net/aliman
Email: alistair.miles@zoo.ox.ac.uk
Tel: +44 (0)1865 281993
Received on Thursday, 13 March 2008 10:26:13 UTC