public interface GraphLoader
Title:
Description:
Copyright: Copyright (c) 2008
Company: Clark & Parsia, LLC.
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear all internal caches (essentially used for mapping bnodes to ATerm
structures)
|
com.hp.hpl.jena.graph.Graph |
getGraph()
Get the Jena graph used in the loader.
|
Set<String> |
getUnpportedFeatures()
Returns the unsupported axioms ignored by the loader.
|
boolean |
isLoadABox()
Returns if the loader will load the Abox triples.
|
boolean |
isPreprocessTypeTriples()
Returns if the loader will preprocess rdf:type triples.
|
void |
load(Iterable<com.hp.hpl.jena.graph.Graph> graphs)
Load the axioms from the Jena graphs to the given KB.
|
aterm.ATermAppl |
node2term(com.hp.hpl.jena.graph.Node node)
Translate the given graph node into an ATerm object.
|
void |
preprocess()
Do the preprocessing steps necessary to cache any information that will
be used for loading.
|
void |
setGraph(com.hp.hpl.jena.graph.Graph graph)
Set the graph that will be used during loading.
|
void |
setKB(KnowledgeBase kb) |
void |
setLoadABox(boolean loadABox)
Sets the flag that tells the loader to skip ABox (instance) statements.
|
void |
setPreprocessTypeTriples(boolean preprocessTypeTriples)
This option forces the loader to process type triples before
processing other triples.
|
void |
setProgressMonitor(ProgressMonitor monitor)
Set the progress monitor that will show the load progress.
|
void clear()
com.hp.hpl.jena.graph.Graph getGraph()
Set<String> getUnpportedFeatures()
void load(Iterable<com.hp.hpl.jena.graph.Graph> graphs) throws UnsupportedFeatureException
UnsupportedFeatureExceptionaterm.ATermAppl node2term(com.hp.hpl.jena.graph.Node node)
node - void preprocess()
void setGraph(com.hp.hpl.jena.graph.Graph graph)
graph - boolean isLoadABox()
setLoadABox(boolean)void setLoadABox(boolean loadABox)
loadABox - boolean isPreprocessTypeTriples()
setPreprocessTypeTriples(boolean)void setPreprocessTypeTriples(boolean preprocessTypeTriples)
void setProgressMonitor(ProgressMonitor monitor)
monitor - void setKB(KnowledgeBase kb)
Copyright © 2013. All Rights Reserved.