Re: Altering ARQ query to accept non-executed pattern

2018-11-30 Thread Lorenz B.
Just use angle brackets around the prefixed function, i.e.   FILTER((?something, "word")) it should be processed correctly by Virtuoso. On 11/30/18 10:40 AM, Rob Vesse wrote: > Assuming you are accessing over HTTP you can create an instance of > QueryEngineHTTP directly passing in the query as

Re: Altering ARQ query to accept non-executed pattern

2018-11-30 Thread Rob Vesse
Assuming you are accessing over HTTP you can create an instance of QueryEngineHTTP directly passing in the query as a string and ARQ won't attempt to parse the query e.g. QueryExecution qe = new QueryEngineHTTP("http://someserver/query;, yourQueryString); Rob On 29/11/2018, 17:52, "Dan

Re: Altering ARQ query to accept non-executed pattern

2018-11-29 Thread Andy Seaborne
bif:contains uses a Virtuoso full text index. SPARQL's CONTAINS looks for exact substring. (it is the same as XQuery/XPath fn:contains) https://www.w3.org/TR/sparql11-query/#func-contains FILTER(CONTAINS((LCASE(?something), "word"))) or a regex Andy On 29/11/2018 17:51, Dan Davis wrote:

Altering ARQ query to accept non-executed pattern

2018-11-29 Thread Dan Davis
I have a Query Execution Service that returns a QueryExecution that is within another triple-store, and that other triple store supports some functions my other graphs do not. Specifically, it is virtuoso, and supports bif:lower and bif:contains. My intuition is that I need to write filter