Class ForwardChainingRDFSInferencerConnection
java.lang.Object
org.eclipse.rdf4j.sail.helpers.SailConnectionWrapper
org.eclipse.rdf4j.sail.helpers.NotifyingSailConnectionWrapper
org.eclipse.rdf4j.sail.inferencer.InferencerConnectionWrapper
org.eclipse.rdf4j.sail.inferencer.fc.AbstractForwardChainingInferencerConnection
org.eclipse.rdf4j.sail.inferencer.fc.ForwardChainingRDFSInferencerConnection
- All Implemented Interfaces:
AutoCloseable, FederatedServiceResolverClient, ThreadSafetyAware, InferencerConnection, NotifyingSailConnection, SailConnection, SailConnectionListener
@Deprecated(since="2.5")
class ForwardChainingRDFSInferencerConnection
extends AbstractForwardChainingInferencerConnection
Deprecated.
Forward-chaining RDF Schema inferencer, using the rules from the
RDF Semantics Recommendation (10 February 2004). This
inferencer can be used to add RDF Schema semantics to any Sail that returns
InferencerConnections from their
Sail.getConnection() method.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final boolean[]Deprecated.Flags indicating which rules should be evaluated.private final boolean[]Deprecated.Flags indicating which rules should be evaluated next iteration.private static final org.slf4j.LoggerDeprecated.private ModelDeprecated.private final int[]Deprecated.The number of inferred statements per rule.Fields inherited from class AbstractForwardChainingInferencerConnection
totalInferred -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidDeprecated.Adds all basic set of axiom statements from which the complete set can be inferred to the underlying Sail.protected intapplyRule(int rule) Deprecated.protected intapplyRuleInternal(int rule) Deprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.private intDeprecated.protected intapplyRules(Model iteration) Deprecated.Returns the number of newly inferred statements.private intDeprecated.protected ModelDeprecated.protected voidDeprecated.private booleanDeprecated.Util method forapplyRuleX1().protected ModelDeprecated.protected voidupdateTriggers(int ruleNo, int nofInferred) Deprecated.Methods inherited from class AbstractForwardChainingInferencerConnection
begin, begin, flushUpdates, hasNewStatements, needsFullRecomputation, rollback, statementAdded, statementRemovedMethods inherited from class InferencerConnectionWrapper
addInferredStatement, clearInferred, commit, evaluate, flush, getContextIDs, getStatements, getWrappedConnection, hasStatement, prepare, removeInferredStatement, sizeMethods inherited from class NotifyingSailConnectionWrapper
addConnectionListener, removeConnectionListenerMethods inherited from class SailConnectionWrapper
addStatement, addStatement, clear, clearNamespaces, close, endUpdate, explain, getFederatedServiceResolver, getNamespace, getNamespaces, isActive, isOpen, pendingRemovals, prepareQuery, removeNamespace, removeStatement, removeStatements, setFederatedServiceResolver, setNamespace, setTransactionSettings, size, startUpdate, supportsConcurrentReadsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface NotifyingSailConnection
addConnectionListener, removeConnectionListenerMethods inherited from interface SailConnection
addStatement, addStatement, clear, clearNamespaces, close, endUpdate, explain, getNamespace, getNamespaces, isActive, isOpen, pendingRemovals, prepareQuery, removeNamespace, removeStatement, removeStatements, setNamespace, setTransactionSettings, startUpdate
-
Field Details
-
logger
private static final org.slf4j.Logger loggerDeprecated. -
newThisIteration
Deprecated. -
checkRule
private final boolean[] checkRuleDeprecated.Flags indicating which rules should be evaluated. -
checkRuleNextIter
private final boolean[] checkRuleNextIterDeprecated.Flags indicating which rules should be evaluated next iteration. -
ruleCount
private final int[] ruleCountDeprecated.The number of inferred statements per rule.
-
-
Constructor Details
-
ForwardChainingRDFSInferencerConnection
Deprecated.
-
-
Method Details
-
createModel
Deprecated.- Specified by:
createModelin classAbstractForwardChainingInferencerConnection
-
addAxiomStatements
Deprecated.Adds all basic set of axiom statements from which the complete set can be inferred to the underlying Sail.- Specified by:
addAxiomStatementsin classAbstractForwardChainingInferencerConnection- Throws:
SailException
-
doInferencing
Deprecated.- Overrides:
doInferencingin classAbstractForwardChainingInferencerConnection- Throws:
SailException
-
applyRules
Deprecated.Description copied from class:AbstractForwardChainingInferencerConnectionReturns the number of newly inferred statements.- Specified by:
applyRulesin classAbstractForwardChainingInferencerConnection- Throws:
SailException
-
prepareIteration
Deprecated.- Overrides:
prepareIterationin classAbstractForwardChainingInferencerConnection
-
updateTriggers
protected void updateTriggers(int ruleNo, int nofInferred) Deprecated. -
applyRule
-
applyRuleInternal
-
applyRuleRdf1
-
applyRuleRdfs2_1
-
applyRuleRdfs2_2
-
applyRuleRdfs3_1
-
applyRuleRdfs3_2
-
applyRuleRdfs4a
-
applyRuleRdfs4b
-
applyRuleRdfs5_1
-
applyRuleRdfs5_2
-
applyRuleRdfs6
-
applyRuleRdfs7_1
-
applyRuleRdfs7_2
-
applyRuleRdfs8
-
applyRuleRdfs9_1
-
applyRuleRdfs9_2
-
applyRuleRdfs10
-
applyRuleRdfs11_1
-
applyRuleRdfs11_2
-
applyRuleRdfs12
-
applyRuleRdfs13
-
applyRuleX1
-
isValidPredicateNumber
-
SchemaCachingRDFSInferencerinstead.