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 [[email protected]]
Sent: Wednesday, February 20, 2013 2:51 PM
To: [email protected]; [email protected]
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!
Regards,
Yingjie

Reply via email to