utility
Class Ontology

java.lang.Object
  extended by utility.Ontology

public class Ontology
extends java.lang.Object

Author:
Dominique Ritze The class Ontology contains the classes, properties and some ontology characteristics like the filepath.

Constructor Summary
Ontology(java.lang.String filepath)
          Create an ontology out of the filepath and build all important structures (like set of classes or properties).
 
Method Summary
static org.semanticweb.owl.model.OWLOntology buildOntology(java.lang.String filepath)
          Build an OWLOntology out of a filepath.
 java.util.Set<org.semanticweb.owl.model.OWLClass> getClasses()
           
 java.util.Set<org.semanticweb.owl.model.OWLDataProperty> getDatatypeProperties()
           
 boolean[] getDelimiter()
           
static boolean[] getDelimiter(org.semanticweb.owl.model.OWLOntology ontology)
          Compute the delimiter which occur in the ontology.
 java.net.URI getFilepath()
           
 java.util.Set<org.semanticweb.owl.model.OWLObjectProperty> getObjectProperties()
           
 org.semanticweb.owl.model.OWLOntology getOntology()
           
 java.util.HashMap<org.semanticweb.owl.model.OWLClass,Term> getTermClasses()
           
 java.util.HashMap<org.semanticweb.owl.model.OWLDataProperty,Term> getTermDatatypeProperties()
           
 java.util.HashMap<org.semanticweb.owl.model.OWLObjectProperty,Term> getTermObjectProperties()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Ontology

public Ontology(java.lang.String filepath)
         throws ComplexMappingException
Create an ontology out of the filepath and build all important structures (like set of classes or properties).

Parameters:
filepath -
Throws:
ComplexMappingException
Method Detail

getDelimiter

public static boolean[] getDelimiter(org.semanticweb.owl.model.OWLOntology ontology)
Compute the delimiter which occur in the ontology.

Parameters:
ontology -
Returns:
Array with the real delimiter, first entry: hyphen, second: blank, third: underscore. The entry is true if the character should be a real delimiter.

buildOntology

public static org.semanticweb.owl.model.OWLOntology buildOntology(java.lang.String filepath)
                                                           throws ComplexMappingException
Build an OWLOntology out of a filepath.

Parameters:
filepath -
Returns:
Throws:
ComplexMappingException

getDelimiter

public boolean[] getDelimiter()

getClasses

public java.util.Set<org.semanticweb.owl.model.OWLClass> getClasses()

getObjectProperties

public java.util.Set<org.semanticweb.owl.model.OWLObjectProperty> getObjectProperties()

getDatatypeProperties

public java.util.Set<org.semanticweb.owl.model.OWLDataProperty> getDatatypeProperties()

getOntology

public org.semanticweb.owl.model.OWLOntology getOntology()

getFilepath

public java.net.URI getFilepath()

getTermClasses

public java.util.HashMap<org.semanticweb.owl.model.OWLClass,Term> getTermClasses()

getTermObjectProperties

public java.util.HashMap<org.semanticweb.owl.model.OWLObjectProperty,Term> getTermObjectProperties()

getTermDatatypeProperties

public java.util.HashMap<org.semanticweb.owl.model.OWLDataProperty,Term> getTermDatatypeProperties()