Package org.incenp.obofoundry.sssom.owl
Class DirectAxiomGenerator
java.lang.Object
org.incenp.obofoundry.sssom.owl.DirectAxiomGenerator
- All Implemented Interfaces:
IMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom>
public class DirectAxiomGenerator
extends Object
implements IMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom>
A class to generate OWL axioms “directly”, that is without any external input
outside of the mappings themselves. The axioms are derived based on the “OWL
reification” rules set forth in the SSSOM specification.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDirectAxiomGenerator
(org.semanticweb.owlapi.model.OWLOntology ontology) Creates a new instance. -
Method Summary
-
Constructor Details
-
DirectAxiomGenerator
public DirectAxiomGenerator(org.semanticweb.owlapi.model.OWLOntology ontology) Creates a new instance.- Parameters:
ontology
- The ontology to generate axioms for.
-
-
Method Details
-
transform
Description copied from interface:IMappingTransformer
Transform a mapping into something else.- Specified by:
transform
in interfaceIMappingTransformer<org.semanticweb.owlapi.model.OWLAxiom>
- Parameters:
mapping
- The mapping to transform.- Returns:
- The object generated from the mapping.
-