org.dllearner.kb.extraction
Class InstanceNode

java.lang.Object
  extended by org.dllearner.kb.extraction.Node
      extended by org.dllearner.kb.extraction.InstanceNode

public class InstanceNode
extends Node

A node in the graph that is an instance.

Author:
Sebastian Hellmann

Field Summary
 
Fields inherited from class org.dllearner.kb.extraction.Node
DEBUGTAIL
 
Constructor Summary
InstanceNode(String uri)
           
 
Method Summary
 List<Node> expand(TupleAquisitor tupelAquisitor, Manipulator manipulator)
          Nodes are expanded with a certain context, given by the typedSparqlQuery and the manipulator
 List<BlankNode> expandProperties(TupleAquisitor tupelAquisitor, Manipulator manipulator, boolean dissolveBlankNodes)
          gets type defs for properties like rdf:type SymmetricProperties
 List<DatatypePropertyNode> getDatatypePropertyNode()
           
 List<ObjectPropertyNode> getObjectProperties()
           
 Node processTuple(RDFNodeTuple tuple)
          estimates the type of the retrieved tuple
 SortedSet<String> toNTriple()
          output
 void toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector)
           
 
Methods inherited from class org.dllearner.kb.extraction.Node
getIRI, getNTripleForm, getURIString, isExpanded, tail, tail, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InstanceNode

public InstanceNode(String uri)
Method Detail

expand

public List<Node> expand(TupleAquisitor tupelAquisitor,
                         Manipulator manipulator)
Description copied from class: Node
Nodes are expanded with a certain context, given by the typedSparqlQuery and the manipulator

Specified by:
expand in class Node
Returns:
Vector all Nodes that are new because of expansion

processTuple

public Node processTuple(RDFNodeTuple tuple)
estimates the type of the retrieved tuple

Parameters:
tuple -
Returns:

expandProperties

public List<BlankNode> expandProperties(TupleAquisitor tupelAquisitor,
                                        Manipulator manipulator,
                                        boolean dissolveBlankNodes)
Description copied from class: Node
gets type defs for properties like rdf:type SymmetricProperties

Specified by:
expandProperties in class Node

toNTriple

public SortedSet<String> toNTriple()
Description copied from class: Node
output

Specified by:
toNTriple in class Node
Returns:
a set of n-triple

toOWLOntology

public void toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector)
Specified by:
toOWLOntology in class Node

getObjectProperties

public List<ObjectPropertyNode> getObjectProperties()

getDatatypePropertyNode

public List<DatatypePropertyNode> getDatatypePropertyNode()


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