- From: Steve Harris <steve.harris@garlik.com>
- Date: Tue, 5 Oct 2010 17:12:19 +0100
- To: Ivan Shmakov <oneingray@gmail.com>
- Cc: Semantic Web <semantic-web@w3.org>
On 2010-10-04, at 16:39, Ivan Shmakov wrote: >>>>>> Steve Harris <steve.harris@garlik.com> writes: >>>>>> On 2010-10-01, at 18:28, Ivan Shmakov wrote: > > […] > >>> SELECT ( fn:concat(?G, " ", ?S) AS ?name ) > > […] > >>> It makes me wonder, is there a way to introduce new values in the >>> CONSTRUCTed graph? > >> Yes, You can use that projected value in your construct, using a sub >> query: > >> CONSTRUCT { [] :name ?name } >> WHERE { >> { SELECT ( fn:concat(?G, " ", ?S) AS ?name ) ... } >> } > > Thanks! Somehow, I've missed subqueries altogether when > scanning through the specification. > > (Unfortunately, Rasqal doesn't seem to fully implement SPARQL > 1.1 as of yet.) > > One more question: the SPARQL 1.1 specification frequently > refers to XPath. However, nowhere I see it stated in clear, > which XPath functions are to be provided by a compliant SPARQL > implementation. Neither I see a requirement for such an > implementation to provide all the functions. Could this issue > be clarified, please? The only required ones are the ones listed in the document, §11.4 in the 1.0 rec. http://www.w3.org/TR/rdf-sparql-query/#SparqlOps. There are some more going into the 1.1 draft though. - Steve -- Steve Harris, CTO, Garlik Limited 1-3 Halford Road, Richmond, TW10 6AW, UK +44 20 8439 8203 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, 5 October 2010 16:12:56 UTC