com.bigdata.rdf.rules
Class FastClosure

java.lang.Object
  extended by com.bigdata.rdf.rules.BaseClosure
      extended by com.bigdata.rdf.rules.FastClosure

public class FastClosure
extends BaseClosure

Fast forward closure of the store based on "An approach to RDF(S) Query, Manipulation and Inference on Databases" by Lu, Yu, Tu, Lin, and Zhang.

Version:
$Id: FastClosure.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 
Fields inherited from class com.bigdata.rdf.rules.BaseClosure
db, forwardChainOwlEquivalentClass, forwardChainOwlEquivalentProperty, forwardChainOwlHasValue, forwardChainOwlInverseOf, forwardChainOwlSameAsClosure, forwardChainOwlSameAsProperties, forwardChainOwlTransitiveProperty, forwardChainRdfTypeRdfsResource, rdfsOnly, vocab
 
Constructor Summary
FastClosure(AbstractTripleStore db)
           
 
Method Summary
 MappedProgram getProgram(String db, String focusStore)
          Return the program that will be used to compute the closure of the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FastClosure

public FastClosure(AbstractTripleStore db)
Method Detail

getProgram

public MappedProgram getProgram(String db,
                                String focusStore)
Description copied from class: BaseClosure
Return the program that will be used to compute the closure of the database.

Specified by:
getProgram in class BaseClosure
Parameters:
db - The database whose closure will be updated.
focusStore - When non-null, the focusStore will be closed against the database with the entailments written into the database. When null, the entire database will be closed (database-at-once closure).
Returns:
The program to be executed.


Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.