org.openjena.riot.inf
Class InferenceExpanderRDFS

java.lang.Object
  extended by org.openjena.riot.inf.InferenceExpanderRDFS
All Implemented Interfaces:
Closeable, Sink<com.hp.hpl.jena.graph.Triple>

public class InferenceExpanderRDFS
extends java.lang.Object
implements Sink<com.hp.hpl.jena.graph.Triple>

Apply a fixed set of inference rules to a stream of triples. This is inference on the A-Box (the data) with respect to a fixed T-Box (the vocabulary, ontology).


Constructor Summary
InferenceExpanderRDFS(Sink<com.hp.hpl.jena.graph.Triple> output, com.hp.hpl.jena.rdf.model.Model vocab)
           
 
Method Summary
 void close()
           
 void flush()
           
 void send(com.hp.hpl.jena.graph.Triple triple)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InferenceExpanderRDFS

public InferenceExpanderRDFS(Sink<com.hp.hpl.jena.graph.Triple> output,
                             com.hp.hpl.jena.rdf.model.Model vocab)
Method Detail

send

public void send(com.hp.hpl.jena.graph.Triple triple)
Specified by:
send in interface Sink<com.hp.hpl.jena.graph.Triple>

flush

public void flush()
Specified by:
flush in interface Sink<com.hp.hpl.jena.graph.Triple>

close

public void close()
Specified by:
close in interface Closeable


Copyright © 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP