Class ReasonerConfiguration
- java.lang.Object
-
- edu.cornell.mannlib.vitro.webapp.tboxreasoner.ReasonerConfiguration
-
public class ReasonerConfiguration extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static ReasonerConfigurationCOMPLETEThis configuration will ask Pellet for "all" inferences (calls listStatements(null,null,null)).static ReasonerConfigurationDEFAULTThe default reasoner configuration is designed to provide acceptable performance on larger knowledge bases.Set<ReasonerStatementPattern>inferenceDrivingPatternAllowSetSet<ReasonerStatementPattern>inferenceDrivingPatternDenySetSet<ReasonerStatementPattern>inferenceReceivingPatternAllowSetstatic ReasonerConfigurationPSEUDOCOMPLETEThis configuration will ask Pellet for the default inferences, plus all statements where the predicate is a property in the user's ontology(ies).static ReasonerConfigurationPSEUDOCOMPLETE_IGNORE_DATAPROPERTIESThis configuration will ask Pellet for the default inferences, plus all statements where the predicate is an object property in the user's ontology(ies).
-
Constructor Summary
Constructors Constructor Description ReasonerConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<ReasonerStatementPattern>getInferenceDrivingPatternAllowSet()Set<ReasonerStatementPattern>getInferenceDrivingPatternDenySet()Set<ReasonerStatementPattern>getInferenceReceivingPatternAllowSet()booleangetQueryForAllDatatypeProperties()booleangetQueryForAllObjectProperties()booleangetReasonOnAllDatatypePropertyStatements()booleanisIncrementalReasoningEnabled()voidsetIncrementalReasongingEnabled(boolean value)voidsetInferenceDrivingPatternAllowSet(Set<ReasonerStatementPattern> patternSet)voidsetInferenceDrivingPatternDenySet(Set<ReasonerStatementPattern> patternSet)voidsetInferenceReceivingPatternAllowSet(Set<ReasonerStatementPattern> patternSet)voidsetQueryForAllDatatypeProperties(boolean boole)voidsetQueryForAllObjectProperties(boolean boole)voidsetReasonOnAllDatatypePropertyStatements(boolean boole)
-
-
-
Field Detail
-
inferenceDrivingPatternAllowSet
public Set<ReasonerStatementPattern> inferenceDrivingPatternAllowSet
-
inferenceDrivingPatternDenySet
public Set<ReasonerStatementPattern> inferenceDrivingPatternDenySet
-
inferenceReceivingPatternAllowSet
public Set<ReasonerStatementPattern> inferenceReceivingPatternAllowSet
-
DEFAULT
public static ReasonerConfiguration DEFAULT
The default reasoner configuration is designed to provide acceptable performance on larger knowledge bases. It will classify and realize, and add inferred disjointWith statements. It ignores domain and range "axioms," on the assumption that they are not truly axioms but editing constraints.
-
COMPLETE
public static ReasonerConfiguration COMPLETE
This configuration will ask Pellet for "all" inferences (calls listStatements(null,null,null)). Usually suitable only for smaller ontologies.
-
PSEUDOCOMPLETE
public static ReasonerConfiguration PSEUDOCOMPLETE
This configuration will ask Pellet for the default inferences, plus all statements where the predicate is a property in the user's ontology(ies). Can lead to drastic performance improvements, depending on the ontology.
-
PSEUDOCOMPLETE_IGNORE_DATAPROPERTIES
public static ReasonerConfiguration PSEUDOCOMPLETE_IGNORE_DATAPROPERTIES
This configuration will ask Pellet for the default inferences, plus all statements where the predicate is an object property in the user's ontology(ies).
-
-
Method Detail
-
getInferenceDrivingPatternAllowSet
public Set<ReasonerStatementPattern> getInferenceDrivingPatternAllowSet()
-
setInferenceDrivingPatternAllowSet
public void setInferenceDrivingPatternAllowSet(Set<ReasonerStatementPattern> patternSet)
-
getInferenceDrivingPatternDenySet
public Set<ReasonerStatementPattern> getInferenceDrivingPatternDenySet()
-
setInferenceDrivingPatternDenySet
public void setInferenceDrivingPatternDenySet(Set<ReasonerStatementPattern> patternSet)
-
getInferenceReceivingPatternAllowSet
public Set<ReasonerStatementPattern> getInferenceReceivingPatternAllowSet()
-
setInferenceReceivingPatternAllowSet
public void setInferenceReceivingPatternAllowSet(Set<ReasonerStatementPattern> patternSet)
-
getQueryForAllObjectProperties
public boolean getQueryForAllObjectProperties()
-
setQueryForAllObjectProperties
public void setQueryForAllObjectProperties(boolean boole)
-
getReasonOnAllDatatypePropertyStatements
public boolean getReasonOnAllDatatypePropertyStatements()
-
setReasonOnAllDatatypePropertyStatements
public void setReasonOnAllDatatypePropertyStatements(boolean boole)
-
getQueryForAllDatatypeProperties
public boolean getQueryForAllDatatypeProperties()
-
setQueryForAllDatatypeProperties
public void setQueryForAllDatatypeProperties(boolean boole)
-
isIncrementalReasoningEnabled
public boolean isIncrementalReasoningEnabled()
-
setIncrementalReasongingEnabled
public void setIncrementalReasongingEnabled(boolean value)
-
-