Hi

I'd like to use this  function 
http://www.w3.org/TR/xpath-functions/#func-normalize-space in a SPARQL 
query in Virtuoso 7.
Is it available?
If I declare the prefix fn  as
prefix fn: <http://www.w3.org/2005/xpath-functions>
and then use the function as

fn:normalize-space(str(?s))

I retrieve the following error

Virtuoso 42001 Error SR185: Undefined procedure 
DB.DBA.http://www.w3.org/2005/xpath-functionsnormalize-space.


I've also found a function with the same name and behavior in Virtuoso 
documentation 
(http://docs.openlinksw.com/virtuoso/xpf_normalize_space.html).
Is it possible to use this function in a SPARQL query?
I've tried to use it with the prefix bif, but I also get an error

Virtuoso 37000 Error SP031: SPARQL compiler: Function name 
"bif:normalize-space" contains invalid characters; this may be an attempt of 
bypassing security restrictions

best regards,

Lorena





------------------------------------------------------------------------------
_______________________________________________
Virtuoso-users mailing list
Virtuoso-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtuoso-users

Reply via email to