W3C home > Mailing lists > Public > public-rdf-dawg@w3.org > April to June 2011

Re: JSON Results doc : First complete draft ready

From: Nico Michaelis <nico.michaelis@sohard.de>
Date: Tue, 17 May 2011 09:45:58 +0200
Message-ID: <4DD227B6.4050605@sohard.de>
To: public-rdf-dawg@w3.org
> I would like at least one other reviewer to concur. The document is not
> long, and will not take you long to review. Please help!

I've had a look.

I was a little surprised that the result of an ask query is not encoded 
like other literal booleans. So instead of the
	"boolean": "true"
I would encode the result of an ask query like
	"result" : { "type": "literal", "value": "true", "datatype": 
. I guess that would be a good idea for consistency and existensibility. 
If you think that "result" is a bad name, because "results" is already 
in use, I would propose "answer" - but I think that calling the object 
"boolean" does not give an appropriate meaning.

I also noticed a little typo - a superflous "," before the ending "}" in 
the description of literals with datatypes:

{ "type": "literal", "value": "S", "datatype": "D",}

I'm satisfied with the rest of the document.

Received on Tuesday, 17 May 2011 07:46:24 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:01:04 UTC