- From: Steve Harris <steve.harris@garlik.com>
- Date: Tue, 16 Jun 2009 12:24:35 +0100
- To: Axel Polleres <axel.polleres@deri.org>
- Cc: "Seaborne, Andy" <andy.seaborne@hp.com>, Kjetil Kjernsmo <Kjetil.Kjernsmo@computas.com>, "public-rdf-dawg@w3.org" <public-rdf-dawg@w3.org>
On 15 Jun 2009, at 23:27, Axel Polleres wrote:
> Kjetil was concerned since fn:concat wasn't supported yet in
> standard SPARQL. An alternative would be to resort to something
> else, like e.g. STR():
>
> e.g.
>
> CONSTRUCT { ?x ex:mailstring STR(?mbox) . }
> WHERE { ?x foaf:mbox ?mbox }
My feeling is that combining Projection and construct expressions is a
bad idea, these are distinct features.
> or (using subqueries)
>
> CONSTRUCT { ?x ex:mailstring ?m . }
> WHERE {
> { SELECT ?x, STR(?mbox) AS ?m
> ?x foaf:mbox ?mbox
> }
>
> but I am quite unsure... is there anyone supporting this?
Anyone who supports subselects will support the latter, by default.
- Steve
--
Steve Harris
Garlik Limited, 2 Sheen Road, Richmond, TW9 1AE, UK
+44(0)20 8973 2465 http://www.garlik.com/
Registered in England and Wales 535 7233 VAT # 849 0517 11
Registered office: Thames House, Portsmouth Road, Esher, Surrey, KT10
9AD
Received on Tuesday, 16 June 2009 11:25:07 UTC