Class OwlApiOntologyValidationService
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_validation.OntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
de.uni_mannheim.informatik.dws.melt.matching_validation.OwlApiOntologyValidationService
public class OwlApiOntologyValidationService
extends OntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
OWL API implementation of OntologyValidationService.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static org.semanticweb.owlapi.model.OWLOntologyManager
Fields inherited from class de.uni_mannheim.informatik.dws.melt.matching_validation.OntologyValidationService
ontology
-
Constructor Summary
ConstructorDescriptionOwlApiOntologyValidationService
(File ontologyFile) ConstructorOwlApiOntologyValidationService
(String fileContent) ConstructorOwlApiOntologyValidationService
(URI ontologyUri) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
computeHasOntologyDefinition
(org.semanticweb.owlapi.model.OWLOntology ontology) protected int
computeNumberOfRestrictions
(org.semanticweb.owlapi.model.OWLOntology ontology) protected int
computeNumberOfStatements
(org.semanticweb.owlapi.model.OWLOntology ontology) boolean
isConceptDefined
(String concept) protected org.semanticweb.owlapi.model.OWLOntology
parseOntology
(String fileContent) protected org.semanticweb.owlapi.model.OWLOntology
parseOntology
(URI ontUri) retrieveClasses
(org.semanticweb.owlapi.model.OWLOntology ontology) retrieveDatatypeProperties
(org.semanticweb.owlapi.model.OWLOntology ontology) retrieveInstances
(org.semanticweb.owlapi.model.OWLOntology ontology) retrieveObjectProperties
(org.semanticweb.owlapi.model.OWLOntology ontology) retrieveProperties
(org.semanticweb.owlapi.model.OWLOntology ontology) protected String
protected String
Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_validation.OntologyValidationService
close, computeStatistics, getAllResources, getClasses, getDatatypeProperties, getInstances, getLibName, getLibVersion, getNumberOfClasses, getNumberOfDatatypeProperties, getNumberOfInstances, getNumberOfObjectProperties, getNumberOfProperties, getNumberOfRestrictions, getNumberOfStatements, getObjectProperties, getOntology, getOntologyParseError, getOntologyUri, getProperties, getVersionFromJarFile, isOntologyDefined, isOntologyParseable, toString
-
Field Details
-
man
private static org.semanticweb.owlapi.model.OWLOntologyManager man
-
-
Constructor Details
-
OwlApiOntologyValidationService
Constructor- Parameters:
ontologyFile
- File reference to the ontology to be validated.
-
OwlApiOntologyValidationService
Constructor- Parameters:
fileContent
- file content of ontology file.
-
OwlApiOntologyValidationService
Constructor- Parameters:
ontologyUri
- URI reference to the ontology to be validated.
-
-
Method Details
-
getURIs
-
parseOntology
- Specified by:
parseOntology
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
- Throws:
Exception
-
parseOntology
protected org.semanticweb.owlapi.model.OWLOntology parseOntology(String fileContent) throws Exception - Specified by:
parseOntology
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
- Throws:
Exception
-
retrieveClasses
- Specified by:
retrieveClasses
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
retrieveDatatypeProperties
- Specified by:
retrieveDatatypeProperties
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
retrieveObjectProperties
- Specified by:
retrieveObjectProperties
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
retrieveProperties
- Specified by:
retrieveProperties
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
retrieveInstances
- Specified by:
retrieveInstances
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
computeNumberOfRestrictions
protected int computeNumberOfRestrictions(org.semanticweb.owlapi.model.OWLOntology ontology) - Specified by:
computeNumberOfRestrictions
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
computeNumberOfStatements
protected int computeNumberOfStatements(org.semanticweb.owlapi.model.OWLOntology ontology) - Specified by:
computeNumberOfStatements
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
computeHasOntologyDefinition
protected boolean computeHasOntologyDefinition(org.semanticweb.owlapi.model.OWLOntology ontology) - Specified by:
computeHasOntologyDefinition
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
retriveLibName
- Specified by:
retriveLibName
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
retriveLibVersion
- Specified by:
retriveLibVersion
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-
isConceptDefined
- Specified by:
isConceptDefined
in classOntologyValidationService<org.semanticweb.owlapi.model.OWLOntology>
-