de.fuberlin.wiwiss.wiqa.extensions
Class MorePositiveRatings

java.lang.Object
  extended bycom.hp.hpl.jena.query.function.FunctionBase
      extended byde.fuberlin.wiwiss.wiqa.ExplainableFunction
          extended byde.fuberlin.wiwiss.wiqa.extensions.MorePositiveRatings
All Implemented Interfaces:
Function

public class MorePositiveRatings
extends ExplainableFunction

This metric counts the positive, neutral and negative ratings of a sink. The sink is trustworthy if there are more positive than negative ratings. The only argument of the metric is the node of the sink.

Version:
$Id$
Author:
Oliver Maresch (oliver-maresch@gmx.de), Richard Cyganiak (richard@cyganiak.de)

Field Summary
static String URI
           
 
Constructor Summary
MorePositiveRatings()
           
 
Method Summary
 NodeValue exec(List arguments)
           
 
Methods inherited from class de.fuberlin.wiwiss.wiqa.ExplainableFunction
build, getDataset, returnExplanation
 
Methods inherited from class com.hp.hpl.jena.query.function.FunctionBase
exec, getArg, getContext, getCurrentBinding
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

URI

public static final String URI
See Also:
Constant Field Values
Constructor Detail

MorePositiveRatings

public MorePositiveRatings()
Method Detail

exec

public NodeValue exec(List arguments)