public class OWLPunningDetector extends Object
| Modifier and Type | Field and Description | 
|---|---|
| static org.semanticweb.owlapi.model.OWLObjectProperty | punningPropertyThis 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 Set<org.semanticweb.owlapi.model.OWLClass> | getPunningClasses(org.semanticweb.owlapi.model.OWLOntology ontology)Returns the classes of the ontology that are also used as individuals, i.e. | 
| static Set<org.semanticweb.owlapi.model.IRI> | getPunningIRIs(org.semanticweb.owlapi.model.OWLOntology ontology)Returns the classes of the ontology that are also used as individuals, 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 class is also used as individual in the ontology. | 
| static boolean | hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology,
          String iri)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 ontologycls - the classpublic static boolean hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology, org.semanticweb.owlapi.model.IRI iri)
ontology - ontology the ontologyiri - the IRIpublic static Set<org.semanticweb.owlapi.model.OWLClass> getPunningClasses(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology - the ontologypublic static Set<org.semanticweb.owlapi.model.IRI> getPunningIRIs(org.semanticweb.owlapi.model.OWLOntology ontology)
ontology - the ontologypublic static boolean hasPunning(org.semanticweb.owlapi.model.OWLOntology ontology, String iri)
ontology - the ontologyiri - the IRI DL-Learner is licenced 						under the terms of the GNU General Public License.
 DL-Learner is licenced 						under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann