de.fuberlin.wiwiss.semmf.result
Interface PropertyMatchingResult

All Known Implementing Classes:
PropertyMatchingResultImpl

public interface PropertyMatchingResult

This interface provides methods for representing the matching result of properties of a certain node type.

Version:
1.0 last modivied 29.11.2006
Author:
Radoslaw Oldakowski

Method Summary
 java.lang.String getLabel()
           
 com.hp.hpl.jena.rdf.model.RDFNode getQueryPropVal()
           
 com.hp.hpl.jena.rdf.model.RDFNode getResPropVal()
           
 float getSimilarity()
           
 float getWeight()
           
 boolean isReversed()
           
 

Method Detail

getQueryPropVal

com.hp.hpl.jena.rdf.model.RDFNode getQueryPropVal()
Returns:
RDFNode object representing the value of a particular property of a particular node from the query graph.

getResPropVal

com.hp.hpl.jena.rdf.model.RDFNode getResPropVal()
Returns:
RDFNode object representing the value of a particular property of a particular node from the resource graph.

getLabel

java.lang.String getLabel()
Returns:
label of the property

getSimilarity

float getSimilarity()
Returns:
similarity of both property values

isReversed

boolean isReversed()
Returns:
true if the matching has been reversed. (=> resource and query properties have been switched at similarity calculation)

getWeight

float getWeight()
Returns:
weight which represents the importance of this property among other properties of a single node type. The weight is a float number [0..1]. The sum of all property weights equals 1.