W3C home > Mailing lists > Public > public-lod@w3.org > February 2013

RE: SPARQL column header space support?

From: Mark Wallace <mwallace@modusoperandi.com>
Date: Mon, 25 Feb 2013 13:28:40 +0000
To: Yingjie Li <yingjieli.lehigh@gmail.com>, "public-lod@w3.org" <public-lod@w3.org>, "semantic-web@w3.org" <semantic-web@w3.org>
Message-ID: <4E8742B742697A4A8FDB03EE7B32A6C014278EB5@BLUPRD0811MB412.namprd08.prod.outlook.com>
Current SPARQL 1.1 standard uses 'AS' in some cases (e.g. BIND, or CONCAT), [1] but the right hand side is still a variable name, so it can't have embedded space as in your examples.

Don't know about future plans, but it would be nice to have prettier column names built-in. :-)

[1] http://www.w3.org/TR/sparql11-query/#CreatingValuesWithExpressions

Mark Wallace
Principal Engineer, Semantic Applications
Modus Operandi, Inc.
Melbourne, FL,  USA

From: Yingjie Li [yingjieli.lehigh@gmail.com]
Sent: Wednesday, February 20, 2013 2:51 PM
To: public-lod@w3.org; semantic-web@w3.org
Subject: SPARQL column header space support?

Hi all,
It is known that in the SQL standard we can escape the spaces in the column name using the double quote (“) as follows:
SELECT "Balance" as "Account Balance" FROM “Account”, where the “Account Balance” is an alias name of the column "Balance" in the table of “Acount”.
Does anyone know whether SPARQL standard has such feature of allowing space in the column header of the result set? Sort of like
SELECT ?Balance AS "Account Balance" WHERE .......
If not, does W3C plan to support this?
Thanks for any help in advance!
Received on Monday, 25 February 2013 14:03:54 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:16:29 UTC