@Deprecated public class SpinSail extends AbstractForwardChainingInferencer
The SpinSail is currently deprecated. If you are using SPIN to validate your data then it is recommended to move to SHACL with the ShaclSail. Currently, the SHACL W3C Recommendation only supports validation, and has no equivalent to SPIN's inference features.
Deprecating the SpinSail has been discussed at https://github.com/eclipse/rdf4j/issues/1262 and can be summarized with there being no developers actively supporting it and that SPIN in itself is no longer recommended by TopQuadrant. Do not expect the SpinSail to scale in any way and expect simple delete operations to take seconds to complete. There are still a number of open issues in GitHub connected to the SpinSail, none of these are likely to get fixed.
| Constructor and Description |
|---|
SpinSail()
Deprecated.
|
SpinSail(org.eclipse.rdf4j.sail.NotifyingSail baseSail)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addQueryContextInitializer(org.eclipse.rdf4j.query.algebra.evaluation.QueryContextInitializer initializer)
Deprecated.
|
org.eclipse.rdf4j.sail.spin.SpinSailConnection |
getConnection()
Deprecated.
|
TupleFunctionEvaluationMode |
getEvaluationMode()
Deprecated.
|
org.eclipse.rdf4j.query.algebra.evaluation.federation.FederatedServiceResolver |
getFederatedServiceResolver()
Deprecated.
|
org.eclipse.rdf4j.query.algebra.evaluation.function.FunctionRegistry |
getFunctionRegistry()
Deprecated.
|
protected List<org.eclipse.rdf4j.query.algebra.evaluation.QueryContextInitializer> |
getQueryContextInitializers()
Deprecated.
|
SpinParser |
getSpinParser()
Deprecated.
|
org.eclipse.rdf4j.query.algebra.evaluation.function.TupleFunctionRegistry |
getTupleFunctionRegistry()
Deprecated.
|
void |
initialize()
Deprecated.
|
boolean |
isAxiomClosureNeeded()
Deprecated.
Indicates if the SPIN Sail should itself load the full deductive closure of the SPIN axioms.
|
boolean |
isInitializing()
Deprecated.
|
boolean |
isValidateConstraints()
Deprecated.
Check is SPIN constraint validation is enabled.
|
void |
setAxiomClosureNeeded(boolean axiomClosureNeeded)
Deprecated.
|
void |
setBaseSail(org.eclipse.rdf4j.sail.Sail baseSail)
Deprecated.
|
void |
setEvaluationMode(TupleFunctionEvaluationMode mode)
Deprecated.
|
void |
setFederatedServiceResolver(org.eclipse.rdf4j.query.algebra.evaluation.federation.FederatedServiceResolver resolver)
Deprecated.
|
void |
setFunctionRegistry(org.eclipse.rdf4j.query.algebra.evaluation.function.FunctionRegistry registry)
Deprecated.
|
void |
setSpinParser(SpinParser parser)
Deprecated.
|
void |
setTupleFunctionRegistry(org.eclipse.rdf4j.query.algebra.evaluation.function.TupleFunctionRegistry registry)
Deprecated.
|
void |
setValidateConstraints(boolean validateConstraints)
Deprecated.
Disable or enable SPIN constraint validation.
|
getDefaultIsolationLevel, getSupportedIsolationLevelsaddSailChangedListener, getBaseSail, removeSailChangedListenergetDataDir, getValueFactory, isWritable, setDataDir, shutDown, verifyBaseSailSetpublic SpinSail()
public SpinSail(org.eclipse.rdf4j.sail.NotifyingSail baseSail)
public void setBaseSail(org.eclipse.rdf4j.sail.Sail baseSail)
setBaseSail in interface org.eclipse.rdf4j.sail.StackableSailsetBaseSail in class org.eclipse.rdf4j.sail.helpers.NotifyingSailWrapperpublic org.eclipse.rdf4j.query.algebra.evaluation.function.FunctionRegistry getFunctionRegistry()
public void setFunctionRegistry(org.eclipse.rdf4j.query.algebra.evaluation.function.FunctionRegistry registry)
public org.eclipse.rdf4j.query.algebra.evaluation.function.TupleFunctionRegistry getTupleFunctionRegistry()
public void setTupleFunctionRegistry(org.eclipse.rdf4j.query.algebra.evaluation.function.TupleFunctionRegistry registry)
public org.eclipse.rdf4j.query.algebra.evaluation.federation.FederatedServiceResolver getFederatedServiceResolver()
public void setFederatedServiceResolver(org.eclipse.rdf4j.query.algebra.evaluation.federation.FederatedServiceResolver resolver)
setFederatedServiceResolver in interface org.eclipse.rdf4j.query.algebra.evaluation.federation.FederatedServiceResolverClientsetFederatedServiceResolver in class org.eclipse.rdf4j.sail.helpers.SailWrapperpublic void setEvaluationMode(TupleFunctionEvaluationMode mode)
public TupleFunctionEvaluationMode getEvaluationMode()
public void setAxiomClosureNeeded(boolean axiomClosureNeeded)
public boolean isAxiomClosureNeeded()
false if the underlying Sail stack already supports RDFS inferencing, true if not.true if the SpinSail needs to load the full axiom closure, false otherwise.public void addQueryContextInitializer(org.eclipse.rdf4j.query.algebra.evaluation.QueryContextInitializer initializer)
protected List<org.eclipse.rdf4j.query.algebra.evaluation.QueryContextInitializer> getQueryContextInitializers()
public SpinParser getSpinParser()
public void setSpinParser(SpinParser parser)
public org.eclipse.rdf4j.sail.spin.SpinSailConnection getConnection()
throws org.eclipse.rdf4j.sail.SailException
getConnection in interface org.eclipse.rdf4j.sail.NotifyingSailgetConnection in interface org.eclipse.rdf4j.sail.SailgetConnection in class org.eclipse.rdf4j.sail.helpers.NotifyingSailWrapperorg.eclipse.rdf4j.sail.SailExceptionpublic void initialize()
throws org.eclipse.rdf4j.sail.SailException
initialize in interface org.eclipse.rdf4j.sail.Sailinitialize in class org.eclipse.rdf4j.sail.helpers.SailWrapperorg.eclipse.rdf4j.sail.SailExceptionpublic boolean isInitializing()
public void setValidateConstraints(boolean validateConstraints)
Disable or enable SPIN constraint validation. This can be very useful in order to improve performance
Default true (constraint validation enabled).
validateConstraints - (true if enabled)public boolean isValidateConstraints()
Copyright © 2015-2021 Eclipse Foundation. All Rights Reserved.