- From: Dan Connolly <connolly@w3.org>
- Date: Fri, 15 Apr 2005 12:22:05 -0500
- To: RDF Data Access Working Group <public-rdf-dawg@w3.org>
XQuery/XPath functions have URIs.
e.g
http://www.w3.org/2005/04/xpath-functions/#max
Suppose I write...
PREFIX ex: <http://example/vocab#>
PREFIX xfo: <http://www.w3.org/2005/04/xpath-functions/#>
SELECT ?n
WHERE { ?who ex:name ?n
FILTER xfo:matches(?n, "Dan") .
}
That's a core SPARQL query, right? It works just as well as...
PREFIX ex: <http://example/vocab#>
SELECT ?n
WHERE { ?who ex:name ?n
FILTER regex(?n, "Dan") .
}
I don't see any text to that effect in
http://www.w3.org/2001/sw/DataAccess/rq23/#extensionFunctions
$Revision: 1.300 $ of $Date: 2005/04/14 11:43:04 $
I think it's worth testing too.
--
Dan Connolly, W3C http://www.w3.org/People/Connolly/
D3C2 887B 0F92 6005 C541 0875 0F91 96DE 6E52 C29E
Received on Friday, 15 April 2005 17:22:07 UTC