owl_api.services.OWLAPIOperations Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of brunner-owlAPI Show documentation
Show all versions of brunner-owlAPI Show documentation
OWLAPI module for the BRunner project
package owl_api.services;
import tools.service.CommonOps;
import tools.service.metadata.IOperationMetadata;
import tools.service.metadata.OperationMetadataFactory;
/**
* Operations that are specific to the the OWL API.
*/
public enum OWLAPIOperations implements IOperationMetadata {
/**
* Loading an OWL ontology
*/
LOAD_OWL_ONTOLOGY(CommonOps.KB_LOADING.serializationKey(), "load owl ontology axioms"),
/**
*
*/
BUILD_REASONER_FOR_ENTAILMENT_CHECKING("build_reasoner",
"build a reasoner the explanator can use for entailment checking"),
/**
*
*/
TRANSLATE_DLGP_FACTS_TO_OWL_AXIOM("translate_dlgp_to_owl",
"translate dlgp facts to owl axioms");
/**
* The identifier for the operation.
*/
private final IOperationMetadata metadata;
/**
*
* Constructor initializes metadata record
*
* @param serializationKey
* @param description
* @param recordTheMeasureTakenForThisOperation
*/
OWLAPIOperations(String serializationKey, String description, boolean recordTheMeasureTakenForThisOperation) {
metadata = OperationMetadataFactory.createMetadata(serializationKey, description,
recordTheMeasureTakenForThisOperation);
}
OWLAPIOperations(String serializationKey, String description) {
this(serializationKey, description, true);
}
@Override
public IOperationMetadata getMetadata() {
return metadata;
}
}