Interface SMOntologySpRada

  • All Superinterfaces:
    SimilarityMeasure, SMOntology
    All Known Implementing Classes:
    SMOntologySpRadaImpl

    public interface SMOntologySpRada
    extends SMOntology
    Calculates the similarity between query and case based on the shortest path between query and case entity in an ontology. The similarity function of Rada et al. is used.
    Author:
    Tobias Dahlem
    • Method Detail

      • getRelations

        Set<String> getRelations()
        Returns:
        the used relation for the shortest path.
      • addRelation

        void addRelation​(String r)
        Set the localname of the used relation for the shortest path.
        Parameters:
        r - the localname of the relation.