org.openrdf.sail.inferencer.fc
Class ForwardChainingRDFSInferencer
java.lang.Object
org.openrdf.sail.helpers.SailWrapper
org.openrdf.sail.helpers.NotifyingSailWrapper
org.openrdf.sail.inferencer.fc.ForwardChainingRDFSInferencer
- All Implemented Interfaces:
- NotifyingSail, Sail, StackableSail
public class ForwardChainingRDFSInferencer
- extends NotifyingSailWrapper
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.
|
Method Summary |
org.openrdf.sail.inferencer.fc.ForwardChainingRDFSInferencerConnection |
getConnection()
Opens a connection on the Sail which can be used to query and update data. |
void |
initialize()
Adds axiom statements to the underlying Sail. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForwardChainingRDFSInferencer
public ForwardChainingRDFSInferencer()
ForwardChainingRDFSInferencer
public ForwardChainingRDFSInferencer(NotifyingSail baseSail)
getConnection
public org.openrdf.sail.inferencer.fc.ForwardChainingRDFSInferencerConnection getConnection()
throws SailException
- Description copied from interface:
Sail
- Opens a connection on the Sail which can be used to query and update data.
Depending on how the implementation handles concurrent access, a call to
this method might block when there is another open connection on this
Sail.
- Specified by:
getConnection in interface NotifyingSail- Specified by:
getConnection in interface Sail- Overrides:
getConnection in class NotifyingSailWrapper
- Throws:
SailException - If no transaction could be started, for example because the Sail
is not writable.
initialize
public void initialize()
throws SailException
- Adds axiom statements to the underlying Sail.
- Specified by:
initialize in interface Sail- Overrides:
initialize in class SailWrapper
- Throws:
SailException - If the Sail could not be initialized.
Copyright © 2001-2008 Aduna. All Rights Reserved.