Class JenaOntologyValidationService
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_validation.OntologyValidationService<org.apache.jena.ontology.OntModel>
de.uni_mannheim.informatik.dws.melt.matching_validation.JenaOntologyValidationService
public class JenaOntologyValidationService
extends OntologyValidationService<org.apache.jena.ontology.OntModel>
Jena implementation of OntologyValidationService.
-
Field Summary
Fields inherited from class de.uni_mannheim.informatik.dws.melt.matching_validation.OntologyValidationService
ontology
-
Constructor Summary
ConstructorDescriptionJenaOntologyValidationService
(File ontologyFile) ConstructorJenaOntologyValidationService
(String fileContent) ConstructorJenaOntologyValidationService
(URI ontologyUri) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
Free all resources which are attached to this validation service.protected boolean
computeHasOntologyDefinition
(org.apache.jena.ontology.OntModel ontology) protected int
computeNumberOfRestrictions
(org.apache.jena.ontology.OntModel ontology) protected int
computeNumberOfStatements
(org.apache.jena.ontology.OntModel ontology) boolean
isConceptDefined
(String uri) protected org.apache.jena.ontology.OntModel
parseOntology
(String fileContent) protected org.apache.jena.ontology.OntModel
parseOntology
(URI ontUri) retrieveClasses
(org.apache.jena.ontology.OntModel ontology) retrieveDatatypeProperties
(org.apache.jena.ontology.OntModel ontology) retrieveInstances
(org.apache.jena.ontology.OntModel ontology) retrieveObjectProperties
(org.apache.jena.ontology.OntModel ontology) retrieveProperties
(org.apache.jena.ontology.OntModel ontology) protected String
protected String
Methods inherited from class de.uni_mannheim.informatik.dws.melt.matching_validation.OntologyValidationService
computeStatistics, getAllResources, getClasses, getDatatypeProperties, getInstances, getLibName, getLibVersion, getNumberOfClasses, getNumberOfDatatypeProperties, getNumberOfInstances, getNumberOfObjectProperties, getNumberOfProperties, getNumberOfRestrictions, getNumberOfStatements, getObjectProperties, getOntology, getOntologyParseError, getOntologyUri, getProperties, getVersionFromJarFile, isOntologyDefined, isOntologyParseable, toString
-
Constructor Details
-
JenaOntologyValidationService
Constructor- Parameters:
ontologyFile
- File reference to the ontology to be validated.
-
JenaOntologyValidationService
Constructor- Parameters:
fileContent
- file content of ontology file.
-
JenaOntologyValidationService
Constructor- Parameters:
ontologyUri
- URI reference to the ontology to be validated.
-
-
Method Details
-
close
public void close()Description copied from class:OntologyValidationService
Free all resources which are attached to this validation service.- Overrides:
close
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
parseOntology
- Specified by:
parseOntology
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
- Throws:
Exception
-
parseOntology
- Specified by:
parseOntology
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
- Throws:
Exception
-
getURIs
-
retrieveClasses
- Specified by:
retrieveClasses
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
retrieveDatatypeProperties
- Specified by:
retrieveDatatypeProperties
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
retrieveObjectProperties
- Specified by:
retrieveObjectProperties
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
retrieveProperties
- Specified by:
retrieveProperties
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
retrieveInstances
- Specified by:
retrieveInstances
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
computeNumberOfRestrictions
protected int computeNumberOfRestrictions(org.apache.jena.ontology.OntModel ontology) - Specified by:
computeNumberOfRestrictions
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
computeNumberOfStatements
protected int computeNumberOfStatements(org.apache.jena.ontology.OntModel ontology) - Specified by:
computeNumberOfStatements
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
computeHasOntologyDefinition
protected boolean computeHasOntologyDefinition(org.apache.jena.ontology.OntModel ontology) - Specified by:
computeHasOntologyDefinition
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
retriveLibName
- Specified by:
retriveLibName
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
retriveLibVersion
- Specified by:
retriveLibVersion
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-
isConceptDefined
- Specified by:
isConceptDefined
in classOntologyValidationService<org.apache.jena.ontology.OntModel>
-