org.openrdf.sail.inferencer.fc
Class ForwardChainingRDFSInferencer

java.lang.Object
  extended by org.openrdf.sail.helpers.SailWrapper
      extended by org.openrdf.sail.inferencer.fc.ForwardChainingRDFSInferencer
All Implemented Interfaces:
Sail, StackableSail

public class ForwardChainingRDFSInferencer
extends SailWrapper

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.


Constructor Summary
ForwardChainingRDFSInferencer()
           
ForwardChainingRDFSInferencer(Sail baseSail)
           
 
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 org.openrdf.sail.helpers.SailWrapper
addSailChangedListener, getBaseSail, getDataDir, getValueFactory, isWritable, removeSailChangedListener, setBaseSail, setDataDir, shutDown
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardChainingRDFSInferencer

public ForwardChainingRDFSInferencer()

ForwardChainingRDFSInferencer

public ForwardChainingRDFSInferencer(Sail baseSail)
Method Detail

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 Sail
Overrides:
getConnection in class SailWrapper
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-2007 Aduna. All Rights Reserved.