public class OWLIntoRules
extends java.lang.Object
Constructor and Description |
---|
OWLIntoRules(org.semanticweb.owlapi.model.OWLOntology ontology)
Constructor: an
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Atom> |
getAllAssertionsAsAtoms()
Gets all class and property assertions from a given ontology.
|
java.util.List<Rule> |
getAllOntologyAndSWRLAsRules()
Gets all (possible) generated rules from a given ontology with SWRL rules.
|
java.util.List<Atom> |
getClassAssertionsAsAtoms()
Gets class assertions (data) from a given ontology.
|
java.util.List<Rule> |
getDomainPropertyRestrictionsAsRules()
Generates rules according to the set of domain restrictions in properties in a given ontology.
|
java.util.List<Rule> |
getEquivalentClassesAsRules()
Generates rules according to the set of equivalent classes in a given ontology.
|
java.util.List<Rule> |
getEquivalentPropertiesAsRules()
Generates rules according to the set of equivalent properties in a given ontology.
|
java.util.List<Rule> |
getFunctionalPropertiesAsRules()
Generates rules according to the set of functional properties in a given ontology.
|
java.util.List<Rule> |
getHierarchyOfOWLClassesAsRules()
Generates rules according to the taxonomy of classes in a given ontology.
|
java.util.List<Rule> |
getHierarchyOfOWLDatatypePropertiesAsRules()
Generates rules according to the taxonomy of datatype properties in a given ontology.
|
java.util.List<Rule> |
getHierarchyOfOWLObjectPropertiesAsRules()
Generates rules according to the taxonomy of object properties in a given ontology.
|
java.util.List<Rule> |
getInverseFunctionalPropertiesAsRules()
Generates rules according to the set of inverse functional properties in a given ontology.
|
java.util.List<Rule> |
getInversePropertiesAsRules()
Generates rules according to the set of inverse properties in a given ontology.
|
java.util.List<Atom> |
getPropertyAssertionsAsAtoms()
Gets object property and datatype property assertions (facts) from a given ontology.
|
java.util.List<Rule> |
getRangePropertyRestrictionsAsRules()
Generates rules according to the set of range restrictions in properties in a given ontology.
|
java.util.List<Rule> |
getSemanticsOfClassesAsRules()
Generates rules according to the set of classes in a given ontology.
|
java.util.List<Rule> |
getSWRLRulesAsRules()
Generates rules according to the SWRL rules in a given ontology.
|
java.util.List<Rule> |
getSymmetricPropertiesAsRules()
Generates rules according to the set of symmetric properties in a given ontology.
|
java.util.List<Rule> |
getTransitivePropertiesAsRules()
Generates rules according to the set of transitive properties in a given ontology.
|
public OWLIntoRules(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology
- public java.util.List<Atom> getAllAssertionsAsAtoms()
public java.util.List<Rule> getAllOntologyAndSWRLAsRules()
public java.util.List<Atom> getClassAssertionsAsAtoms()
public java.util.List<Rule> getDomainPropertyRestrictionsAsRules()
public java.util.List<Rule> getEquivalentClassesAsRules()
public java.util.List<Rule> getEquivalentPropertiesAsRules()
public java.util.List<Rule> getFunctionalPropertiesAsRules()
public java.util.List<Rule> getHierarchyOfOWLClassesAsRules()
public java.util.List<Rule> getHierarchyOfOWLDatatypePropertiesAsRules()
public java.util.List<Rule> getHierarchyOfOWLObjectPropertiesAsRules()
public java.util.List<Rule> getInverseFunctionalPropertiesAsRules()
public java.util.List<Rule> getInversePropertiesAsRules()
public java.util.List<Atom> getPropertyAssertionsAsAtoms()
public java.util.List<Rule> getRangePropertyRestrictionsAsRules()
public java.util.List<Rule> getSemanticsOfClassesAsRules()
public java.util.List<Rule> getSWRLRulesAsRules()
public java.util.List<Rule> getSymmetricPropertiesAsRules()
public java.util.List<Rule> getTransitivePropertiesAsRules()