Re: ProjectExpressions without concat

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