org.dllearner.utilities.owl
Class OWLAPIConverter
java.lang.Object
org.dllearner.utilities.owl.OWLAPIConverter
public final class OWLAPIConverter
- extends Object
A collection of methods for exchanging objects between OWL API and
DL-Learner.
- Author:
- Jens Lehmann
OWLAPIConverter
public OWLAPIConverter()
getOWLAPIAxiom
public static org.semanticweb.owlapi.model.OWLAxiom getOWLAPIAxiom(Axiom axiom)
- Converts a DL-Learner axiom into an OWL API axiom.
- Parameters:
axiom - The axiom to convert.
- Returns:
- An OWL API axiom.
- See Also:
OWLAPIAxiomConvertVisitor.convertAxiom(Axiom)
getOWLAPIDescription
public static org.semanticweb.owlapi.model.OWLClassExpression getOWLAPIDescription(Description description)
- Converts a DL-Learner description into an OWL API description.
- Parameters:
description - DL-Learner description.
- Returns:
- Corresponding OWL API description.
- See Also:
OWLAPIDescriptionConvertVisitor.getOWLClassExpression(org.dllearner.core.owl.Description)
getOWLAPIIndividual
public static org.semanticweb.owlapi.model.OWLIndividual getOWLAPIIndividual(Individual individual)
getOWLAPIIndividuals
public static Set<org.semanticweb.owlapi.model.OWLIndividual> getOWLAPIIndividuals(Set<Individual> individuals)
getOWLAPIObjectProperty
public static org.semanticweb.owlapi.model.OWLObjectProperty getOWLAPIObjectProperty(ObjectProperty role)
getOWLAPIDataProperty
public static org.semanticweb.owlapi.model.OWLDataProperty getOWLAPIDataProperty(DatatypeProperty datatypeProperty)
getOWLAPIEntity
public static org.semanticweb.owlapi.model.OWLEntity getOWLAPIEntity(Entity entity)
convertIndividual
public static Individual convertIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
convertIndividuals
public static Set<Individual> convertIndividuals(Set<? extends org.semanticweb.owlapi.model.OWLIndividual> individuals)
convertObjectProperty
public static ObjectProperty convertObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty property)
convertIndividual
public static DatatypeProperty convertIndividual(org.semanticweb.owlapi.model.OWLDataProperty property)
convertClass
public static Description convertClass(org.semanticweb.owlapi.model.OWLClass owlClass)
convertConstant
public static Constant convertConstant(org.semanticweb.owlapi.model.OWLLiteral constant)
convertConstants
public static Set<Constant> convertConstants(Set<org.semanticweb.owlapi.model.OWLLiteral> constants)
convertDatatype
public static Datatype convertDatatype(org.semanticweb.owlapi.model.OWLDatatype dataType)
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann