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
Modifier and TypeFieldDescriptionstatic final AGReasoner
The default reasoner for AllegroGraphstatic final AGReasoner
A reasoner that includes hasValue, someValuesFrom, and allValuesFrom reasoning in addition to RDFS++ reasoning. -
Constructor Summary
ConstructorDescriptionCreates a new reasoner, using RDFS++ entailment.AGReasoner
(String entailmentRegime) Creates a new reasoner, using the specified entailmentRegime. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addDescription
(Model configSpec, Resource base) bindSchema
(Graph tbox) bindSchema
(Model tbox) Gets the name of the entailmentRegime for this reasoner.void
setDerivationLogging
(boolean logOn) void
setParameter
(Property parameterUri, Object value) boolean
supportsProperty
(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:
addDescription
in interfaceReasoner
-
bind
- Specified by:
bind
in interfaceReasoner
- Throws:
ReasonerException
-
bindSchema
- Specified by:
bindSchema
in interfaceReasoner
- Throws:
ReasonerException
-
bindSchema
- Specified by:
bindSchema
in interfaceReasoner
- Throws:
ReasonerException
-
getGraphCapabilities
- Specified by:
getGraphCapabilities
in interfaceReasoner
-
getReasonerCapabilities
- Specified by:
getReasonerCapabilities
in interfaceReasoner
-
setDerivationLogging
public void setDerivationLogging(boolean logOn) - Specified by:
setDerivationLogging
in interfaceReasoner
-
setParameter
- Specified by:
setParameter
in interfaceReasoner
-
supportsProperty
- Specified by:
supportsProperty
in interfaceReasoner
-