org.semanticweb.HermiT.kaon2.structural
Class Clausification

java.lang.Object
  extended by org.semanticweb.HermiT.kaon2.structural.Clausification

public class Clausification
extends java.lang.Object

This class implements the clausification part of the HermiT algorithm;


Nested Class Summary
protected static class Clausification.Clausifier
           
protected static class Clausification.DetermineExpressivity
           
protected static class Clausification.FactClausifier
           
protected static class Clausification.HeadComparator
           
 
Field Summary
protected static Variable X
           
protected static Variable Y
           
 
Constructor Summary
Clausification()
           
 
Method Summary
 DLOntology clausify(boolean prepareForNIRule, org.semanticweb.kaon2.api.Ontology ontology, java.util.Collection<DescriptionGraph> descriptionGraphs)
           
 DLOntology clausify(boolean prepareForNIRule, java.lang.String ontologyURI, java.util.Collection<org.semanticweb.kaon2.api.owl.elements.Description[]> conceptInclusions, java.util.Collection<org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression[]> normalObjectPropertyInclusions, java.util.Collection<org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression[]> inverseObjectPropertyInclusions, java.util.Collection<org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression> antisymmetricObjectProperties, java.util.Collection<org.semanticweb.kaon2.api.owl.elements.DataPropertyExpression[]> inverseDataPropertyInclusions, java.util.Collection<org.semanticweb.kaon2.api.Fact> facts, java.util.Collection<DescriptionGraph> descriptionGraphs, java.util.Collection<org.semanticweb.kaon2.api.logic.Rule> additionalRules)
           
protected static Atom convertLiteral(org.semanticweb.kaon2.api.logic.Literal literal)
           
protected static DLPredicate convertPredicate(org.semanticweb.kaon2.api.logic.Predicate predicate)
           
protected static void convertRule(org.semanticweb.kaon2.api.logic.Rule rule, java.util.Set<DLClause> dlClauses)
           
protected static Individual getIndividual(org.semanticweb.kaon2.api.owl.elements.Individual individual)
           
protected static LiteralConcept getLiteralConcept(org.semanticweb.kaon2.api.owl.elements.Description description)
           
protected static Role getRole(org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression objectProperty)
           
protected static Atom getRoleAtom(org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression objectProperty, Term first, Term second)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

X

protected static final Variable X

Y

protected static final Variable Y
Constructor Detail

Clausification

public Clausification()
Method Detail

clausify

public DLOntology clausify(boolean prepareForNIRule,
                           org.semanticweb.kaon2.api.Ontology ontology,
                           java.util.Collection<DescriptionGraph> descriptionGraphs)
                    throws org.semanticweb.kaon2.api.KAON2Exception
Throws:
org.semanticweb.kaon2.api.KAON2Exception

clausify

public DLOntology clausify(boolean prepareForNIRule,
                           java.lang.String ontologyURI,
                           java.util.Collection<org.semanticweb.kaon2.api.owl.elements.Description[]> conceptInclusions,
                           java.util.Collection<org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression[]> normalObjectPropertyInclusions,
                           java.util.Collection<org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression[]> inverseObjectPropertyInclusions,
                           java.util.Collection<org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression> antisymmetricObjectProperties,
                           java.util.Collection<org.semanticweb.kaon2.api.owl.elements.DataPropertyExpression[]> inverseDataPropertyInclusions,
                           java.util.Collection<org.semanticweb.kaon2.api.Fact> facts,
                           java.util.Collection<DescriptionGraph> descriptionGraphs,
                           java.util.Collection<org.semanticweb.kaon2.api.logic.Rule> additionalRules)
                    throws org.semanticweb.kaon2.api.KAON2Exception
Throws:
org.semanticweb.kaon2.api.KAON2Exception

getRoleAtom

protected static Atom getRoleAtom(org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression objectProperty,
                                  Term first,
                                  Term second)

getLiteralConcept

protected static LiteralConcept getLiteralConcept(org.semanticweb.kaon2.api.owl.elements.Description description)

getRole

protected static Role getRole(org.semanticweb.kaon2.api.owl.elements.ObjectPropertyExpression objectProperty)

getIndividual

protected static Individual getIndividual(org.semanticweb.kaon2.api.owl.elements.Individual individual)

convertRule

protected static void convertRule(org.semanticweb.kaon2.api.logic.Rule rule,
                                  java.util.Set<DLClause> dlClauses)

convertLiteral

protected static Atom convertLiteral(org.semanticweb.kaon2.api.logic.Literal literal)

convertPredicate

protected static DLPredicate convertPredicate(org.semanticweb.kaon2.api.logic.Predicate predicate)