Thank you very much.
Sent: Thursday, May 25, 2017 at 11:53 PM From: "Andy Seaborne" <[email protected]> To: "Laura Morales" <[email protected]> Subject: Re: text-query escape Lucene field value On 25/05/17 21:57, Laura Morales wrote: > ?subject text:query (rdfs:label "...") > > > if the value "..." contains any special character like : or / Lucene throws > an exception. Is there any SPARQL function that I can use to automatically > escape that string, something like > > ?subject text:query (rdfs:label ESCAPE ("...")) > > or do I have to escape it myself? Yes. > In this case, do I have to escape anything else besides the : and / symbols? > https://lucene.apache.org/core/6_5_1/queryparser/org/apache/lucene/queryparser/classic/package-summary.html#package.description
