All of the words in the values of the listed properties will also be indexed using the predicate keyword:phone that can be used to search for resources by label word.


PREFIX keyword:<http://www.openrdf.org/rdf/2011/keyword#>

SELECT ?resource
WHERE {
    ?resource keyword:phone ?soundex
    FILTER sameTerm(?soundex, keyword:soundex("example"))
    FILTER EXISTS { ?resource ?p ?term FILTER regex(?term, keyword:regex("example")) }
}