Having browsed over that page
http://esw.w3.org/topic/SparqlExtensionFunctions
which discusses extending SPARQL by XPath/XQuery functions
you might be interested in a prototype and technical report [1] we did
on combining XQuery and SPARQL in a single language available at:
http://www.polleres.net/xsparql
feedback appreciated!
Axel
[1] Waseem Akhtar, Jacek Kopecky, Thomas Krennwallner, and Axel
Polleres. XSPARQL: Traveling between the XML and RDF worlds - and
avoiding the XSLT pilgrimage. Technical Report DERI-TR-2007-12-14,
Digital Enterprise Research Institute, National University of Ireland,
Galway, IDA Business Park, Lower Dangan, Galway, Ireland, December 2007.
hhttp://www.deri.ie/fileadmin/documents/DERI-TR-2007-12-14.pdf
--
Dr. Axel Polleres
email: [EMAIL PROTECTED] url: http://www.polleres.net/
rdf:Resource owl:differentFrom xsd:anyURI .