Package com.franz.agraph.jena
Class AGReasoner
java.lang.Object
com.franz.agraph.jena.AGReasoner
- All Implemented Interfaces:
Reasoner
Implements the Jena Reasoner interface for AllegroGraph.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final AGReasonerThe default reasoner for AllegroGraphstatic final AGReasonerA reasoner that includes hasValue, someValuesFrom, and allValuesFrom reasoning in addition to RDFS++ reasoning. -
Constructor Summary
ConstructorsConstructorDescriptionCreates a new reasoner, using RDFS++ entailment.AGReasoner(String entailmentRegime) Creates a new reasoner, using the specified entailmentRegime. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDescription(Model configSpec, Resource base) bindSchema(Graph tbox) bindSchema(Model tbox) Gets the name of the entailmentRegime for this reasoner.voidsetDerivationLogging(boolean logOn) voidsetParameter(Property parameterUri, Object value) booleansupportsProperty(Property property)
-
Field Details
-
RDFS_PLUS_PLUS
The default reasoner for AllegroGraph -
RESTRICTION
A reasoner that includes hasValue, someValuesFrom, and allValuesFrom reasoning in addition to RDFS++ reasoning.
-
-
Constructor Details
-
AGReasoner
public AGReasoner()Creates a new reasoner, using RDFS++ entailment. Consider using the static RDFS_PLUS_PLUS reasoner instead.- See Also:
-
AGReasoner
Creates a new reasoner, using the specified entailmentRegime. Consider using one of the static reasoners instead.- Parameters:
entailmentRegime- the entailment to be used by this reasoner- See Also:
-
-
Method Details
-
getEntailmentRegime
Gets the name of the entailmentRegime for this reasoner.- Returns:
- the name of the entailmentRegime for this reasoner
-
addDescription
- Specified by:
addDescriptionin interfaceReasoner
-
bind
- Specified by:
bindin interfaceReasoner- Throws:
ReasonerException
-
bindSchema
- Specified by:
bindSchemain interfaceReasoner- Throws:
ReasonerException
-
bindSchema
- Specified by:
bindSchemain interfaceReasoner- Throws:
ReasonerException
-
getGraphCapabilities
- Specified by:
getGraphCapabilitiesin interfaceReasoner
-
getReasonerCapabilities
- Specified by:
getReasonerCapabilitiesin interfaceReasoner
-
setDerivationLogging
public void setDerivationLogging(boolean logOn) - Specified by:
setDerivationLoggingin interfaceReasoner
-
setParameter
- Specified by:
setParameterin interfaceReasoner
-
supportsProperty
- Specified by:
supportsPropertyin interfaceReasoner
-