|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.bigdata.rdf.rules.BaseClosure
public abstract class BaseClosure
Base class for classes that provide closure programs.
| Field Summary | |
|---|---|
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 |
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. |
| Constructor Summary | |
|---|---|
protected |
BaseClosure(AbstractTripleStore db)
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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 Vocabulary vocab
| Constructor Detail |
|---|
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.| Method Detail |
|---|
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).
protected List<Rule> getCustomRules(String database)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||