org.dllearner.algorithms.isle
Interface EntityTextRetriever


public interface EntityTextRetriever

Interface for methods, which retrieve relevant texts given an entity in an ontology. An entity text retriever can do simple operations such as converting the URI into text or retrieving an rdfs:label, but could also search web pages for textual explanations of an entity.

Author:
Jens Lehmann

Method Summary
 Map<String,Integer> getRelevantText(Entity entity)
          The method retrieves a string or a set of strings, which is weighted by importance with respect to the entity.
 

Method Detail

getRelevantText

Map<String,Integer> getRelevantText(Entity entity)
The method retrieves a string or a set of strings, which is weighted by importance with respect to the entity. For instance, an rdfs:label of an entity can be given more weight than an rdfs:comment, which in turn can be more important than a description retrieved from a web page.

Parameters:
entity - The entity to handle.
Returns:
A weighted set of strings. For a value x, we need to have 0 <= x <= 1.


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann