[Virtuoso-users] XPath normalize-space function support

2015-09-08 Thread Lorena Etcheverry
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: and then use the function as fn:normalize-space(str(?s)) I retrieve

Re: [Virtuoso-users] problems with HTTP SPARQL QUERIES

2015-09-08 Thread Hugh Williams
Hi Núria, So you increased from 9000 to 900 , which is excessive considering the query takes 144secs to complete ? Can you provide the query being executed as well as the query profile by running “set profile on;” from isql before running the query. What is the current triple count on the

Re: [Virtuoso-users] Problem with federated query

2015-09-08 Thread Hugh Williams
Hi Francesco, So you are saying if 2 D2R servers are using the initial ( or both ) query run fine, but with Virtuoso initiating the federated query it fails querying against the D2R server instance ? If so is this D2R server instance accessible remotely such that we can try from here ? Also,

Re: [Virtuoso-users] XPath normalize-space function support

2015-09-08 Thread Hugh Williams
Hi Lorena, What is the actual query you are executing using the “bif:” prefix that is resulting in the "SP031: SPARQL compiler: Function name "bif:normalize-space" contains invalid characters; this may be an attempt of bypassing security restrictions” error ? Best Regards Hugh Williams

Re: [Virtuoso-users] Parameterizing SPARQL in Virtuoso/PL

2015-09-08 Thread Davis, Daniel (NIH/NLM) [C]
Hugh, Thanks, using ?? is better binding that the solution I came up with so far, which was sprintf() and SPARQL_EVAL(). This will lead the graph available on http://id.nlm.nih.gov/mesh/query (UI) and http://id.nlm.nih.gov/mesh/sparql (endpoint) to retain