java.lang.Object
org.apache.jena.graph.impl.GraphBase
org.apache.jena.reasoner.BaseInfGraph
org.apache.jena.reasoner.rulesys.BasicForwardRuleInfGraph
org.apache.jena.reasoner.rulesys.FBRuleInfGraph
org.apache.jena.reasoner.rulesys.RDFSRuleInfGraph
- All Implemented Interfaces:
Graph,GraphWithPerform,InfGraph,BackwardRuleInfGraphI,ForwardRuleInfGraphI,SilentAddI
Customization of the generic rule inference graph for RDFS inference.
In fact all the rule processing is unchanged, the only extension is
the validation support.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.jena.reasoner.rulesys.FBRuleInfGraph
FBRuleInfGraph.RuleStoreNested classes/interfaces inherited from class org.apache.jena.reasoner.BaseInfGraph
BaseInfGraph.InfTransactionHandler -
Field Summary
Fields inherited from class org.apache.jena.reasoner.rulesys.FBRuleInfGraph
useRETEFields inherited from class org.apache.jena.reasoner.rulesys.BasicForwardRuleInfGraph
filterFunctorsFields inherited from class org.apache.jena.reasoner.BaseInfGraph
reasonerInfCapabilitiesFields inherited from class org.apache.jena.graph.impl.GraphBase
TOSTRING_TRIPLE_BASE, TOSTRING_TRIPLE_LIMITFields inherited from interface org.apache.jena.graph.Graph
emptyGraph -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.jena.reasoner.rulesys.FBRuleInfGraph
accept, addBRule, addBRules, addDeduction, addPreprocessingHook, addRuleDuringPrepare, checkLiteral, close, deleteBRule, find, findDataMatches, findDataMatches, findFull, findWithContinuation, getBRules, getNRulesFired, getRules, getTemp, graphBaseFind, hideNode, performAdd, performDelete, prepare, printLPProfile, processBuiltin, rebind, rebindAll, reset, resetLPProfile, setDatatypeRangeValidation, setDerivationLogging, setTabled, setTraceOn, setUseTGCCacheMethods inherited from class org.apache.jena.reasoner.rulesys.BasicForwardRuleInfGraph
getCurrentDeductionsGraph, getDeductionsGraph, getDerivation, getSchemaGraph, graphBaseSize, logDerivation, rebind, setFunctorFiltering, setRuleStore, shouldLogDerivations, shouldTrace, silentAddMethods inherited from class org.apache.jena.reasoner.BaseInfGraph
clear, cloneWithPremises, find, getCapabilities, getGlobalProperty, getPrefixMapping, getRawGraph, getReasoner, getTransactionHandler, getVersion, isEmpty, isPrepared, remove, testGlobalPropertyMethods inherited from class org.apache.jena.graph.impl.GraphBase
add, contains, contains, delete, dependsOn, find, find, forTestingOnly_graphBaseFind, getEventManager, isClosed, isIsomorphicWith, notifyAdd, notifyDelete, size, toString, toStringMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.jena.reasoner.rulesys.BackwardRuleInfGraphI
getVersion, logDerivationMethods inherited from interface org.apache.jena.graph.Graph
add, add, clear, contains, contains, delete, delete, dependsOn, find, find, find, getCapabilities, getEventManager, getPrefixMapping, getTransactionHandler, isClosed, isEmpty, isIsomorphicWith, remove, size, sizeLong, stream, streamMethods inherited from interface org.apache.jena.reasoner.InfGraph
find, getDerivation, getGlobalProperty, getRawGraph, getReasoner, rebind, testGlobalPropertyMethods inherited from interface org.apache.jena.reasoner.rulesys.SilentAddI
silentAdd
-
Constructor Details
-
RDFSRuleInfGraph
Constructor.- Parameters:
reasoner- the reasoner which created this inf graph instancerules- the rules to processschema- the (optional) schema graph to be included
-
RDFSRuleInfGraph
Constructor.- Parameters:
reasoner- the reasoner which created this inf graph instancerules- the rules to processschema- the (optional) schema graph to be includeddata- the data graph to be processed
-
-
Method Details
-
validate
Test the consistency of the bound data. For RDFS this checks that all instances of datatype-ranged properties have correct data values.- Specified by:
validatein interfaceInfGraph- Overrides:
validatein classFBRuleInfGraph- Returns:
- a ValidityReport structure
-