Franz Inc, AllegroGraph

com.franz.agraph.jena
Class AGReasoner

java.lang.Object
  extended by com.franz.agraph.jena.AGReasoner
All Implemented Interfaces:
com.hp.hpl.jena.reasoner.Reasoner

public class AGReasoner
extends Object
implements com.hp.hpl.jena.reasoner.Reasoner

Implements the Jena Reasoner interface for AllegroGraph.


Field Summary
static AGReasoner RDFS_PLUS_PLUS
          The default reasoner for AllegroGraph
static AGReasoner RESTRICTION
          A reasoner that includes hasValue, someValuesFrom, and allValuesFrom reasoning in addition to RDFS++ reasoning.
 
Constructor Summary
AGReasoner()
          Creates a new reasoner, using RDFS++ entailment.
AGReasoner(String entailmentRegime)
          Creates a new reasoner, using the specified entailmentRegime.
 
Method Summary
 void addDescription(com.hp.hpl.jena.rdf.model.Model configSpec, com.hp.hpl.jena.rdf.model.Resource base)
           
 AGInfGraph bind(com.hp.hpl.jena.graph.Graph data)
           
 com.hp.hpl.jena.reasoner.Reasoner bindSchema(com.hp.hpl.jena.graph.Graph tbox)
           
 com.hp.hpl.jena.reasoner.Reasoner bindSchema(com.hp.hpl.jena.rdf.model.Model tbox)
           
 String getEntailmentRegime()
          Gets the name of the entailmentRegime for this reasoner.
 com.hp.hpl.jena.graph.Capabilities getGraphCapabilities()
           
 com.hp.hpl.jena.rdf.model.Model getReasonerCapabilities()
           
 void setDerivationLogging(boolean logOn)
           
 void setParameter(com.hp.hpl.jena.rdf.model.Property parameterUri, Object value)
           
 boolean supportsProperty(com.hp.hpl.jena.rdf.model.Property property)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RDFS_PLUS_PLUS

public static final AGReasoner RDFS_PLUS_PLUS
The default reasoner for AllegroGraph


RESTRICTION

public static final AGReasoner RESTRICTION
A reasoner that includes hasValue, someValuesFrom, and allValuesFrom reasoning in addition to RDFS++ reasoning.

Constructor Detail

AGReasoner

public AGReasoner()
Creates a new reasoner, using RDFS++ entailment. Consider using the static RDFS_PLUS_PLUS reasoner instead.

See Also:
RDFS_PLUS_PLUS

AGReasoner

public AGReasoner(String entailmentRegime)
Creates a new reasoner, using the specified entailmentRegime. Consider using one of the static reasoners instead.

See Also:
RDFS_PLUS_PLUS, RESTRICTION
Method Detail

getEntailmentRegime

public String getEntailmentRegime()
Gets the name of the entailmentRegime for this reasoner.

Returns:
the name of the entailmentRegime for this reasoner

addDescription

public void addDescription(com.hp.hpl.jena.rdf.model.Model configSpec,
                           com.hp.hpl.jena.rdf.model.Resource base)
Specified by:
addDescription in interface com.hp.hpl.jena.reasoner.Reasoner

bind

public AGInfGraph bind(com.hp.hpl.jena.graph.Graph data)
                throws com.hp.hpl.jena.reasoner.ReasonerException
Specified by:
bind in interface com.hp.hpl.jena.reasoner.Reasoner
Throws:
com.hp.hpl.jena.reasoner.ReasonerException

bindSchema

public com.hp.hpl.jena.reasoner.Reasoner bindSchema(com.hp.hpl.jena.graph.Graph tbox)
                                             throws com.hp.hpl.jena.reasoner.ReasonerException
Specified by:
bindSchema in interface com.hp.hpl.jena.reasoner.Reasoner
Throws:
com.hp.hpl.jena.reasoner.ReasonerException

bindSchema

public com.hp.hpl.jena.reasoner.Reasoner bindSchema(com.hp.hpl.jena.rdf.model.Model tbox)
                                             throws com.hp.hpl.jena.reasoner.ReasonerException
Specified by:
bindSchema in interface com.hp.hpl.jena.reasoner.Reasoner
Throws:
com.hp.hpl.jena.reasoner.ReasonerException

getGraphCapabilities

public com.hp.hpl.jena.graph.Capabilities getGraphCapabilities()
Specified by:
getGraphCapabilities in interface com.hp.hpl.jena.reasoner.Reasoner

getReasonerCapabilities

public com.hp.hpl.jena.rdf.model.Model getReasonerCapabilities()
Specified by:
getReasonerCapabilities in interface com.hp.hpl.jena.reasoner.Reasoner

setDerivationLogging

public void setDerivationLogging(boolean logOn)
Specified by:
setDerivationLogging in interface com.hp.hpl.jena.reasoner.Reasoner

setParameter

public void setParameter(com.hp.hpl.jena.rdf.model.Property parameterUri,
                         Object value)
Specified by:
setParameter in interface com.hp.hpl.jena.reasoner.Reasoner

supportsProperty

public boolean supportsProperty(com.hp.hpl.jena.rdf.model.Property property)
Specified by:
supportsProperty in interface com.hp.hpl.jena.reasoner.Reasoner

Copyright © 2008-2016 Franz Inc.