All Downloads are FREE. Search and download functionalities are using the official Maven repository.

owl_api.services.OWLAPIOperations Maven / Gradle / Ivy

There is a newer version: 1.0.5
Show newest version
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;

	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy