org.dllearner.kb.extraction
Class Node

java.lang.Object
  extended by org.dllearner.kb.extraction.Node
Direct Known Subclasses:
BlankNode, ClassNode, InstanceNode, LiteralNode, PropertyNode

public abstract class Node
extends Object

Abstract class. defines functions to expand the nodes

Author:
Sebastian Hellmann

Field Summary
static boolean DEBUGTAIL
           
 
Constructor Summary
Node(String uri)
           
 
Method Summary
abstract  List<Node> expand(TupleAquisitor TupelAquisitor, Manipulator manipulator)
          Nodes are expanded with a certain context, given by the typedSparqlQuery and the manipulator
abstract  List<BlankNode> expandProperties(TupleAquisitor TupelAquisitor, Manipulator manipulator, boolean dissolveBlankNodes)
          gets type defs for properties like rdf:type SymmetricProperties
 org.semanticweb.owlapi.model.IRI getIRI()
           
 String getNTripleForm()
           
 String getURIString()
           
 boolean isExpanded()
           
 void tail(boolean ignore, String tailmessage)
           
 void tail(String tailmessage)
           
abstract  SortedSet<String> toNTriple()
          output
abstract  void toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DEBUGTAIL

public static final boolean DEBUGTAIL
See Also:
Constant Field Values
Constructor Detail

Node

public Node(String uri)
Method Detail

expand

public abstract List<Node> expand(TupleAquisitor TupelAquisitor,
                                  Manipulator manipulator)
Nodes are expanded with a certain context, given by the typedSparqlQuery and the manipulator

Parameters:
manipulator -
Returns:
Vector all Nodes that are new because of expansion

expandProperties

public abstract List<BlankNode> expandProperties(TupleAquisitor TupelAquisitor,
                                                 Manipulator manipulator,
                                                 boolean dissolveBlankNodes)
gets type defs for properties like rdf:type SymmetricProperties

Parameters:
manipulator -

toNTriple

public abstract SortedSet<String> toNTriple()
output

Returns:
a set of n-triple

toOWLOntology

public abstract void toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector)

toString

public String toString()
Overrides:
toString in class Object

getURIString

public String getURIString()

getIRI

public org.semanticweb.owlapi.model.IRI getIRI()

getNTripleForm

public String getNTripleForm()

isExpanded

public boolean isExpanded()

tail

public void tail(String tailmessage)

tail

public void tail(boolean ignore,
                 String tailmessage)


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