@Override public List<MatchResult> find(String str,int maxResults){
  Value val=ValueFactory.create(str);
  if (val instanceof RelationalVal) {
    return getMatches((RelationalVal)val);
  }
  return Collections.emptyList();
}

@ Override public List < MatchResult > find ( String str , int maxResults ) { Value val = ValueFactory . create ( str ) ; if ( val instanceof RelationalVal ) { return getMatches ( ( RelationalVal ) val ) ; } return Collections . emptyList ( ) ; }
searches for the occurrences of the relational template in the string ( if the string is itself a relational structure ) . else returns an empty list .
