Hi Cesar,
you can try the semantic mode of the Full-text search feature in Stardog which determines the similarity of strings based on their embeddings instead of lexical similarity. However, be aware of the potential impact on indexing performance and memory usage. Depending on your requirements, lexical full-text search might even be sufficient.
Alternatively, there is the stardog-extensions repo with a variety of string similarity functions that you can extend Stardog with. Note that this repo is not an official Stardog repo and it is not maintained by Stardog. If you have more specific requirements, you can also write your own query functions.
Best regards,
Lars