Interface Meaning

All Superinterfaces:
Cloneable, Marking
All Known Subinterfaces:
MeaningSpan, ScoredMeaning
All Known Implementing Classes:
Annotation, NamedEntity, ScoredAnnotation, ScoredNamedEntity, ScoredTypedNamedEntity, TypedNamedEntity

public interface Meaning extends Marking
A class implementing this interface contains a set of URI pointing to the meaning of this object. Note that it is assumed that all URIs of this set are pointing exactly to the same meaning. Thus, they could be connected using an owl:sameAs predicate.
Author:
Michael Röder (roeder@informatik.uni-leipzig.de)
  • Method Details

    • getUri

      Deprecated.
    • setUri

      @Deprecated void setUri(String uri)
      Deprecated.
    • getUris

      Set<String> getUris()
    • setUris

      void setUris(Set<String> uris)
    • addUri

      void addUri(String uri)
    • containsUri

      boolean containsUri(String uri)
    • equals

      static boolean equals(Meaning m1, Meaning m2)
      Returns true if the given Meaning instances have overlapping URI sets.
      Parameters:
      m1 - an instance of Meaning that should be checked for its equality with the second instance based on the semantics of the Meaning interface.
      m2 - an instance of Meaning that should be checked for its equality with the first instance based on the semantics of the Meaning interface.
      Returns:
      true if the given Meaning instances have overlapping URI sets, else false.