Class OntologyGenerator

java.lang.Object
de.uni_trier.wi2.procake.utils.ontology.OntologyGenerator

public class OntologyGenerator extends Object
  • Constructor Details

    • OntologyGenerator

      public OntologyGenerator(String ontologyPrefix, char spaceSubstitutionChar)
    • OntologyGenerator

      public OntologyGenerator(String ontologyPrefix)
  • Method Details

    • addTaxonomiesFromModel

      public void addTaxonomiesFromModel(Model model)
    • addTaxonomy

      public void addTaxonomy(InstanceTaxonomyOrderPredicate taxonomy)
    • addTotalOrdersFromModel

      public void addTotalOrdersFromModel(Model model)
      Retrieves all total orders from the given model and for each order creates a class in the ontology for each of its values. Does NOT model the order in the ontology!
      Parameters:
      model -
    • addTotalOrder

      public void addTotalOrder(InstanceTotalOrderPredicate totalOrder)
      Creates a class in the ontology for each value of the given total order. Name of the created class is the native value of the respective order value. Does NOT model the order in the ontology!
      Parameters:
      totalOrder -
    • writeOntologyToOWLFile

      public void writeOntologyToOWLFile(String fileName)
    • getOntModel

      public org.apache.jena.ontology.OntModel getOntModel()