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

ProjectExpressions examples

From: Kjetil Kjernsmo <Kjetil.Kjernsmo@computas.com>
Date: Tue, 16 Jun 2009 12:49:37 +0200
Message-ID: <3AB73B68D1E8054D83E06CE02A1DEF2E406ED1@ATLAS.computas.int>
To: <public-rdf-dawg@w3.org>
All,

I've tried to faithfully distill examples of ProjectExpressions from the discussion we had (thanks for contributing!), and put it in the wiki:
http://www.w3.org/2009/sparql/wiki/Feature:ProjectExpressions#Example

I decided to keep fn:concat(), since it was a pretty useful example of something one may want to do and indeed, the arguments against it weren't very strong. I put a reference to Xpath F&O in our F&R, and I use that reference in the wiki.

Then, I put in only one example of a CONSTRUCT, the one with a subquery. While I felt this is a bit too complex for the examples of this document, it seems to me that it is also quite clear how it should be done. As opposed to a CONSTRUCT where the function is in the ConstructTemplate, which is very useful and interesting, but it seems to require more discussion, especially to make it stand apart from the list shorthand syntax. I put a reference to the subquery section along with it.

I think what is now in the wiki is acceptable, but I have not yet committed it to the document. I'd like to encourage those who are interested to make edits to it, and I'll commit what is there just before the teleconf. 

Cheers,

Kjetil
Received on Tuesday, 16 June 2009 10:50:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 16:15:39 GMT