public class LiteralNode extends Node
Constructor and Description |
---|
LiteralNode(org.apache.jena.rdf.model.RDFNode node) |
LiteralNode(String uri) |
Modifier and Type | Method and Description |
---|---|
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
|
org.apache.jena.rdf.model.Literal |
getLiteral() |
String |
getNTripleForm() |
boolean |
hasLanguageTag() |
boolean |
isBoolean() |
boolean |
isDouble() |
boolean |
isFloat() |
boolean |
isInt() |
boolean |
isString() |
SortedSet<String> |
toNTriple()
output
|
void |
toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector) |
getIRI, getURIString, isExpanded, tail, tail, toString
public LiteralNode(String uri)
public LiteralNode(org.apache.jena.rdf.model.RDFNode node)
public org.apache.jena.rdf.model.Literal getLiteral()
public List<Node> expand(TupleAquisitor tupelAquisitor, Manipulator manipulator)
Node
public List<BlankNode> expandProperties(TupleAquisitor tupelAquisitor, Manipulator manipulator, boolean dissolveBlankNodes)
Node
expandProperties
in class Node
manipulator
- the manipulatorpublic String getNTripleForm()
getNTripleForm
in class Node
public void toOWLOntology(OWLAPIOntologyCollector owlAPIOntologyCollector)
toOWLOntology
in class Node
public boolean isDouble()
public boolean isFloat()
public boolean isInt()
public boolean isBoolean()
public boolean isString()
public boolean hasLanguageTag()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann