- From: Paul Tyson <phtyson@sbcglobal.net>
- Date: Tue, 20 Aug 2013 19:58:53 -0500
- To: public-rdf-dawg-comments@w3.org
It is a nuisance to use the SPARQL string functions to fish primitive values out of an XMLLiteral RDF term. Why not specify an xpath() function for SPARQL, analagous to regex(), that takes an XMLLiteral term and an xpath expression, and returns a singleton primitive value? The behavior could be undefined if the xpath expression returned a sequence of values. Static checking could enforce certain restrictions on the xpath expression (such as variables or unknown namespace prefixes). Regards, --Paul
Received on Wednesday, 21 August 2013 01:25:42 UTC