org.dllearner.utilities.owl
Class OWLAPIConverter

java.lang.Object
  extended by 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

Constructor Summary
OWLAPIConverter()
           
 
Method Summary
static Description convertClass(org.semanticweb.owlapi.model.OWLClass owlClass)
           
static Constant convertConstant(org.semanticweb.owlapi.model.OWLLiteral constant)
           
static Set<Constant> convertConstants(Set<org.semanticweb.owlapi.model.OWLLiteral> constants)
           
static Datatype convertDatatype(org.semanticweb.owlapi.model.OWLDatatype dataType)
           
static DatatypeProperty convertIndividual(org.semanticweb.owlapi.model.OWLDataProperty property)
           
static Individual convertIndividual(org.semanticweb.owlapi.model.OWLNamedIndividual individual)
           
static Set<Individual> convertIndividuals(Set<? extends org.semanticweb.owlapi.model.OWLIndividual> individuals)
           
static ObjectProperty convertObjectProperty(org.semanticweb.owlapi.model.OWLObjectProperty property)
           
static org.semanticweb.owlapi.model.OWLAxiom getOWLAPIAxiom(Axiom axiom)
          Converts a DL-Learner axiom into an OWL API axiom.
static org.semanticweb.owlapi.model.OWLDataProperty getOWLAPIDataProperty(DatatypeProperty datatypeProperty)
           
static org.semanticweb.owlapi.model.OWLClassExpression getOWLAPIDescription(Description description)
          Converts a DL-Learner description into an OWL API description.
static org.semanticweb.owlapi.model.OWLEntity getOWLAPIEntity(Entity entity)
           
static org.semanticweb.owlapi.model.OWLIndividual getOWLAPIIndividual(Individual individual)
           
static Set<org.semanticweb.owlapi.model.OWLIndividual> getOWLAPIIndividuals(Set<Individual> individuals)
           
static org.semanticweb.owlapi.model.OWLObjectProperty getOWLAPIObjectProperty(ObjectProperty role)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OWLAPIConverter

public OWLAPIConverter()
Method Detail

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)


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann