org.dllearner.kb.extraction
Class DatatypePropertyNode

java.lang.Object
  extended by org.dllearner.kb.extraction.Node
      extended by org.dllearner.kb.extraction.PropertyNode
          extended by org.dllearner.kb.extraction.DatatypePropertyNode

public class DatatypePropertyNode
extends PropertyNode

Property node, has connection to a and b part

Author:
Sebastian Hellmann

Field Summary
 
Fields inherited from class org.dllearner.kb.extraction.PropertyNode
logger
 
Fields inherited from class org.dllearner.kb.extraction.Node
DEBUGTAIL
 
Constructor Summary
DatatypePropertyNode(String uri, Node a, LiteralNode b)
           
 
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
 LiteralNode getBPart()
           
 String getNTripleFormOfB()
           
 SortedSet<String> toNTriple()
          output
 void toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector)
           
 
Methods inherited from class org.dllearner.kb.extraction.PropertyNode
getAPart
 
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

DatatypePropertyNode

public DatatypePropertyNode(String uri,
                            Node a,
                            LiteralNode b)
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

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

getBPart

public LiteralNode getBPart()
Overrides:
getBPart in class PropertyNode

getNTripleFormOfB

public String getNTripleFormOfB()

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


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