org.dllearner.kb.extraction
Class DatatypePropertyNode
java.lang.Object
org.dllearner.kb.extraction.Node
org.dllearner.kb.extraction.PropertyNode
org.dllearner.kb.extraction.DatatypePropertyNode
public class DatatypePropertyNode
- extends PropertyNode
Property node, has connection to a and b part
- Author:
- Sebastian Hellmann
| Fields inherited from class org.dllearner.kb.extraction.Node |
DEBUGTAIL |
DatatypePropertyNode
public DatatypePropertyNode(String uri,
Node a,
LiteralNode b)
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
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann