public class OWLPunningDetector extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.semanticweb.owlapi.model.OWLObjectProperty |
punningProperty
This object property is used to connect individuals with classes that are also individuals, thus, lead to punning.
|
| Constructor and Description |
|---|
OWLPunningDetector() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology)
Checks whether the ontology contains punning, i.e.
|
static boolean |
hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.IRI iri)
Checks whether the same IRI denotes both a class and an individual in the ontology.
|
static boolean |
hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology,
org.semanticweb.owlapi.model.OWLClass cls)
Checks whether the same IRI denotes both a class and an individual in the ontology.
|
public static final org.semanticweb.owlapi.model.OWLObjectProperty punningProperty
public OWLPunningDetector()
public static boolean hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.model.OWLClass cls)
ontology - the OWL ontologycls - the OWL classpublic static boolean hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology - the OWL ontologypublic static boolean hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.model.IRI iri)
ontology - the OWL ontologyiri - the entity IRI
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann