Hi Emri,

I'd guess you've seen the function in the AnzoGraph documentation:
https://docs.cambridgesemantics.com/anzograph/v2.3/userdoc/string-functions.htm?
CambridgeSemantics have developed an extended set of functions beyond those
in the SPARQL 1.1 specification:
https://www.w3.org/TR/2013/REC-sparql11-query-20130321/

If you're not using AnzoGraph, I'd guess you'd need to implement the
function yourself.

Chris

On Sat, 27 Mar 2021 at 13:34, emri mbiemri <[email protected]>
wrote:

> Hi,
>
> I am interested to know if there is any way I could use Levenstein
> distance within a SPARQL query. Let's say I want to select only the objects
> that have a Levenstein distance < 3. I have seen a function on a side that
> says LEVENSHTEIN_DIST(string1, string2) is supported by SPARQL, but it is
> not working for me.
> I appreciate your help.
>

Reply via email to