org.dllearner.kb.extraction
Class Node
java.lang.Object
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
DEBUGTAIL
public static final boolean DEBUGTAIL
- See Also:
- Constant Field Values
Node
public Node(String uri)
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)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann