Algorithm

The algorithm returns:

  • an exception if either argument is null (Score catches and handles this)
  • 0.0 if both strings are of length 0
  • 1.0 if a java string1.equals(string2) returns true
  • 0.0 if a java string1.equals(string2) returns false

Special Scoring Case

When all Algorithms specified for a specific Score are EqualityTest (or a subclass thereof), the SPARQL query is optimized to perform the equality evaluation inside the query and the Algorithms are never actually executed

  • No labels