de.fuberlin.wiwiss.wiqa.extensions
Class AssertedGraphs

java.lang.Object
  extended byde.fuberlin.wiwiss.wiqa.extensions.AssertedGraphs

public class AssertedGraphs
extends Object

Author:
Oliver Maresch (oliver-maresch@gmx.de)

Constructor Summary
AssertedGraphs(Node authority, DatasetGraph sourceData)
          Creates a new instance of the AssertedGraphs class.
 
Method Summary
 DatasetGraph getGraphs()
          Returns all asserted graphs of the authority.
 Map getWarrantMap()
          Returns the map, which maps form the graph Nodes to its warrant Node of the authority, which contains the swp:assertedBy statement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssertedGraphs

public AssertedGraphs(Node authority,
                      DatasetGraph sourceData)
Creates a new instance of the AssertedGraphs class. Finds all graphs, which were asserted by the authority and all warrants used to assert the graphs.

Parameters:
authority -
Method Detail

getGraphs

public DatasetGraph getGraphs()
Returns all asserted graphs of the authority.


getWarrantMap

public Map getWarrantMap()
Returns the map, which maps form the graph Nodes to its warrant Node of the authority, which contains the swp:assertedBy statement. Note: Only one warrant per graph.