| Package | Description |
|---|---|
| uk.ac.ox.cs.JRDFox.owl2rl | |
| uk.ac.ox.cs.JRDFox.store |
| Modifier and Type | Field and Description |
|---|---|
protected java.util.Collection<JRDFStoreException> |
OWL2RLTranslator.m_errors |
protected java.util.Collection<JRDFStoreException> |
SubclassProcessor.m_errors |
protected java.util.Collection<JRDFStoreException> |
SuperclassProcessor.m_errors |
| Constructor and Description |
|---|
OWL2RLTranslator(RuleListener ruleListener,
java.util.Collection<JRDFStoreException> errors) |
SubclassProcessor(org.semanticweb.owlapi.model.OWLAxiom axiom,
java.util.Collection<JRDFStoreException> errors,
VariableProducer variableProducer) |
SuperclassProcessor(RuleListener ruleListener,
org.semanticweb.owlapi.model.OWLAxiom axiom,
java.util.Collection<JRDFStoreException> errors,
VariableProducer variableProducer) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataStore.addTriples(GroundTerm[] triples)
Adds the specified triples to the store without performing reasoning.
|
void |
DataStore.addTriples(GroundTerm[] triples,
DataStore.UpdateType updateType)
Adds the specified triples to the store without performing reasoning.
|
void |
DataStore.addTriples(Resource[] triples)
Adds the specified triples to the store without performing reasoning.
|
void |
DataStore.addTriples(Resource[] triples,
DataStore.UpdateType updateType)
Adds the specified triples to the store without performing reasoning.
|
void |
DataStore.addTriplesByResourceIDs(int[] triples)
Adds the specified triples to the store without performing reasoning.
|
void |
DataStore.addTriplesByResourceIDs(int[] triples,
DataStore.UpdateType updateType)
Adds the specified triples to the store without performing reasoning.
|
void |
DataStore.applyReasoning()
Performs reasoning with the rules and data currently loaded into the store.
|
void |
DataStore.applyReasoning(boolean incrementally)
Performs reasoning with the rules and data currently loaded into the store.
|
void |
DataStore.clearRulesAndMakeFactsExplicit()
Removes all rules and makes the current facts EDBs.
|
TupleIterator |
DataStore.compileQuery(java.lang.String query)
Compiles a query.
|
TupleIterator |
DataStore.compileQuery(java.lang.String query,
Prefixes prefixes)
Compiles a query.
|
TupleIterator |
DataStore.compileQuery(java.lang.String query,
Prefixes prefixes,
Parameters parameters)
Compiles a query.
|
TupleIterator |
DataStore.compileQuery(java.lang.String query,
Prefixes prefixes,
Parameters parameters,
TripleStatus tripleStatusMask,
TripleStatus expectedValue)
Compiles a query.
|
protected void |
DataStore.ensureValidState() |
protected void |
Dictionary.ensureValidState() |
protected void |
TupleIterator.ensureValidState() |
int |
TupleIterator.getArity()
Gets the arity of the tuple iterator.
|
Dictionary |
DataStore.getDictionary()
Retrieves the dictionary object for the current store
|
GroundTerm |
TupleIterator.getGroundTerm(int termIndex)
Returns the ground term by for the given termIndex.
|
void |
Dictionary.getGroundTerms(int[] resourceIDs,
int firstResourceIndex,
int afterLastResourceIndex,
GroundTerm[] groundTerms) |
void |
Dictionary.getGroundTerms(java.nio.IntBuffer resourceIDsBuffer,
long resourceIDsPtr,
int firstResourceIndex,
int afterLastResourceIndex,
GroundTerm[] groundTerms) |
long |
TupleIterator.getMultiplicity()
Gets the multiplicity of the current tuple.
|
long |
TupleIterator.getNext()
Advances the iterator (i.e.
|
Resource |
Dictionary.getResource(int resourceID) |
Resource |
TupleIterator.getResource(int termIndex)
Returns the raw ground term for the given termIndex.
|
int |
TupleIterator.getResourceID(int termIndex)
Returns the resource id for the given termIndex.
|
void |
Dictionary.getResources(int[] resourceIDs,
int firstResourceIndex,
int afterLastResourceIndex,
Resource[] resources) |
protected void |
Dictionary.getResources(java.nio.IntBuffer resourceIDsBuffer,
long resourceIDsPtr,
int firstResourceIndex,
int afterLastResourceIndex,
boolean exportAsResources,
Resource[] resources,
GroundTerm[] groundTerms) |
void |
Dictionary.getResources(java.nio.IntBuffer resourceIDsBuffer,
long resourceIDsPtr,
int firstResourceIndex,
int afterLastResourceIndex,
Resource[] resources) |
long |
DataStore.getTriplesCount() |
void |
DataStore.importOntology(org.semanticweb.owlapi.model.OWLOntology rootOntology)
Imports the triples and the datalog fragment of the ontology into the store.
|
void |
DataStore.importOntology(org.semanticweb.owlapi.model.OWLOntology rootOntology,
DataStore.UpdateType updateType)
Imports the triples and the datalog fragment of the ontology into the store.
|
void |
DataStore.importOntology(org.semanticweb.owlapi.model.OWLOntology rootOntology,
DataStore.UpdateType updateType,
boolean useTreeDecomposition)
Imports the triples and the datalog fragment of the ontology into the store.
|
protected void |
DataStore.importOntology(org.semanticweb.owlapi.model.OWLOntology rootOntology,
DataStore.UpdateType updateType,
boolean addRules,
boolean addTriples,
boolean useTreeDecomposition)
Imports the triples and the datalog fragment of the ontology into the store.
|
void |
DataStore.importRules(java.io.File[] files)
Imports rules from the specified files.
|
void |
DataStore.importRules(java.io.File[] files,
DataStore.UpdateType updateType)
Imports rules from the specified files.
|
void |
DataStore.importRules(java.io.File[] files,
DataStore.UpdateType updateType,
boolean useTreeDecomposition)
Imports rules from the specified files.
|
void |
DataStore.importRules(org.semanticweb.owlapi.model.OWLOntology rootOntology)
Imports the datalog fragment of the ontology into the store.
|
void |
DataStore.importRules(org.semanticweb.owlapi.model.OWLOntology rootOntology,
DataStore.UpdateType updateType)
Imports the datalog fragment of the ontology into the store.
|
void |
DataStore.importRules(org.semanticweb.owlapi.model.OWLOntology rootOntology,
DataStore.UpdateType updateType,
boolean useTreeDecomposition)
Imports the datalog fragment of the ontology into the store.
|
void |
DataStore.importRules(java.lang.String rules)
Imports the datalog rules into the store.
|
void |
DataStore.importRules(java.lang.String rules,
DataStore.UpdateType updateType)
Imports the datalog rules into the store.
|
void |
DataStore.importRules(java.lang.String rules,
DataStore.UpdateType updateType,
boolean useTreeDecomposition,
Prefixes prefixes)
Imports the datalog rules into the store.
|
void |
DataStore.importRules(java.lang.String rules,
DataStore.UpdateType updateType,
Prefixes prefixes)
Imports the datalog rules into the store.
|
void |
DataStore.importTriples(org.semanticweb.owlapi.model.OWLOntology rootOntology)
Imports the triples from the ontology into the store.
|
void |
DataStore.importTriples(org.semanticweb.owlapi.model.OWLOntology rootOntology,
DataStore.UpdateType updateType)
Imports the triples from the ontology into the store.
|
void |
DataStore.importTurtleFile(java.io.File file)
Imports the turtle file.
|
void |
DataStore.importTurtleFile(java.io.File file,
Prefixes prefixes)
Imports the turtle file.
|
void |
DataStore.importTurtleFile(java.io.File file,
Prefixes prefixes,
DataStore.UpdateType updateType)
Imports the turtle file.
|
void |
DataStore.importTurtleFiles(java.io.File[] files)
Imports the turtle files.
|
void |
DataStore.importTurtleFiles(java.io.File[] files,
DataStore.UpdateType updateType)
Imports the turtle files.
|
void |
DataStore.initialize()
Initializes an empty store.
|
boolean |
TupleIterator.isValid()
Determines whether the iterator is in a valid state: i.e.
|
void |
DataStore.makeFactsExplicit()
Makes all facts explicit.
|
protected void |
DataStore.nAddRules(long dataStorePtr,
java.lang.String[] programTexts,
int updateType,
boolean useTreeDecomposition,
java.lang.String[] prefixes) |
protected void |
DataStore.nAddTriples(long dataStorePtr,
java.lang.String[] lexicalForms,
int[] datatypeIDs,
int updateType) |
protected void |
DataStore.nAddTriplesByResourceIDs(long dataStorePtr,
int[] resourceIDs,
int updateType) |
protected void |
DataStore.nApplyRules(long dataStorePtr,
boolean incrementally) |
protected void |
DataStore.nClearRulesAndMakeFactsExplicit(long dataStorePtr) |
protected long |
TupleIterator.nCompileQuery(long dataStorePtr,
java.lang.String queryText,
java.lang.String[] prefixes,
boolean useBushy,
boolean useDistinct,
boolean exactCardinality,
boolean allAnswersInRoot,
boolean expandEquality,
int tripleStatus,
int expectedValue,
int[] arity) |
protected void |
DataStore.nCreate(java.lang.String dataStoreType,
boolean optimizeEquality,
long[] pointers) |
protected void |
TupleIterator.nDispose(long tupleIteartorPtr) |
protected int |
TupleIterator.nGetNext(long tupleIteratorPtr,
int windowSize,
long resourceIDsPtr,
long multiplicitiesPtr) |
protected int |
Dictionary.nGetResources(long dictionaryPtr,
long resourceIDsPtr,
int position,
int limit,
long maskPtr,
long stringByteBufferPtr,
int stringByteBufferLength,
long stringLengthsBufferPtr,
long datatypeIDsBufferPtr) |
protected long |
DataStore.nGetTriplesCount(long dataStorePtr) |
protected void |
DataStore.nImportRules(long dataStorePtr,
java.lang.String[] programFiles,
int rulesAction,
boolean useTreeDecomposition) |
protected void |
DataStore.nImportTurtleFile(long dataStorePtr,
java.lang.String fileName,
int updateType) |
protected void |
DataStore.nImportTurtleFiles(long dataStorePtr,
java.lang.String[] fileNames,
int updateType) |
protected void |
DataStore.nInitialize(long dataStorePtr) |
protected void |
DataStore.nLoad(java.lang.String fileName,
long[] pointers) |
protected void |
DataStore.nMakeFactsExplicit(long dataStorePtr) |
protected int |
TupleIterator.nOpen(long tupleIteratorPtr,
int windowSize,
long resourceIDsPtr,
long multiplicitiesPtr) |
protected void |
Dictionary.nResolveResources(long dictionaryPtr,
int[] resourceIDs,
java.lang.String[] lexicalForms,
int[] datatypes) |
protected void |
DataStore.nSave(long datastorePtr,
java.lang.String fileName) |
protected void |
DataStore.nSetNumberOfThreads(long dataStorePtr,
int numberOfThreads) |
long |
TupleIterator.open()
Opens the iterator, i.e.
|
int[] |
Dictionary.resolveResources(java.lang.String[] lexicalForms,
int[] datatypeIDs)
Resolves the specified ground terms.
|
void |
DataStore.save(java.io.File file)
Saves the current store into a file.
|
void |
DataStore.setNumberOfThreads(int numberOfThreads)
Sets the number of threads used during reasoning and parallel import of data,
|
protected void |
DataStore.writeTerm(GroundTerm term,
int index,
java.lang.String[] lexicalForms,
int[] datatypeIDs) |
| Constructor and Description |
|---|
DataStore(DataStore.StoreType dataStoreType) |
DataStore(DataStore.StoreType dataStoreType,
boolean nativeEqualityReasoning) |
DataStore(DataStore.StoreType dataStoreType,
boolean nativeEqualityReasoning,
boolean cacheResources,
boolean cacheGroundTerms) |
DataStore(java.io.File file) |
DataStore(java.io.File file,
boolean nativeEqualityResouning) |
DataStore(java.io.File file,
boolean nativeEqualityResouning,
boolean cacheResources,
boolean cacheGroundTerms) |
TupleIterator(DataStore dataStore,
java.lang.String queryText,
Prefixes prefixes,
Parameters parameters,
TripleStatus tripleStatusMask,
TripleStatus expectedValue) |