public abstract class BaseClosure extends Object
Modifier and Type | Field and Description |
---|---|
protected AbstractTripleStore |
db
The database whose configuration will determine which entailments are
to be maintained and which of those entailments are computed by
forward closure vs backchained.
|
protected boolean |
enableOwlFunctionalAndInverseFunctionalProperty |
protected boolean |
forwardChainOwlEquivalentClass |
protected boolean |
forwardChainOwlEquivalentProperty |
protected boolean |
forwardChainOwlHasValue |
protected boolean |
forwardChainOwlInverseOf |
protected boolean |
forwardChainOwlSameAsClosure |
protected boolean |
forwardChainOwlSameAsProperties |
protected boolean |
forwardChainOwlSymmetricProperty |
protected boolean |
forwardChainOwlTransitiveProperty |
protected boolean |
forwardChainRdfTypeRdfsResource |
protected boolean |
rdfsOnly |
protected Vocabulary |
vocab
Various term identifiers that we need to construct the rules.
|
Modifier | Constructor and Description |
---|---|
protected |
BaseClosure(AbstractTripleStore db) |
Modifier and Type | Method and Description |
---|---|
protected List<Rule> |
getCustomRules(String database)
Allow subclasses of the fast and full closure programs to provide a set
of custom rules that will be run towards the end of the standard closure
program.
|
abstract MappedProgram |
getProgram(String database,
String focusStore)
Return the program that will be used to compute the closure of the
database.
|
protected final AbstractTripleStore db
protected final boolean rdfsOnly
protected final boolean forwardChainRdfTypeRdfsResource
protected final boolean forwardChainOwlSameAsClosure
protected final boolean forwardChainOwlSameAsProperties
protected final boolean forwardChainOwlEquivalentProperty
protected final boolean forwardChainOwlEquivalentClass
protected final boolean forwardChainOwlTransitiveProperty
protected final boolean forwardChainOwlInverseOf
protected final boolean forwardChainOwlHasValue
protected final boolean forwardChainOwlSymmetricProperty
protected final boolean enableOwlFunctionalAndInverseFunctionalProperty
protected final Vocabulary vocab
protected BaseClosure(AbstractTripleStore db)
db
- The database whose configuration will determine which
entailments are to be maintained and which of those
entailments are computed by forward closure vs
backchained.IllegalArgumentException
- if the db is null
.public abstract MappedProgram getProgram(String database, String focusStore)
database
- The database whose closure will be updated.focusStore
- When non-null
, the focusStore will be
closed against the database with the entailments written
into the database. When null
, the entire
database will be closed (database-at-once closure).Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.