Package org.herakles.ml.selection.trainingData

Examples of org.herakles.ml.selection.trainingData.OntologyManager


  private int getInt(){
    return (int)(Math.random() * MAX);
  }
 
  public static void main(String[] args){
    OntologyManager ontologyManager = new OntologyManager();
    OWLOntology ontology = ontologyManager.getOntology(
        IRI.create(new File("external" + File.separator + "ontology"
            + File.separator + "wine.owl")));
    OWLOntoElementExtractor ontoExtractor = new OWLOntoElementExtractor(ontology);
    OWLObjectPropertyExpressionGenerator owlObjectPropertyExpressionGenerator =
      new OWLObjectPropertyExpressionGenerator(ontoExtractor);
View Full Code Here


  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    analyser = new MetricsAnalyser();
  }
View Full Code Here

    }
  }
 
  @BeforeClass
  public static void setUpBeforeClass() throws Exception {
    OntologyManager ontoManager = new OntologyManager();
    QueryGenerator generator = new QueryGenerator(ontoManager.getOntology(
        IRI.create(new File("external" + File.separator + "ontology"
            + File.separator + "wine.owl"))));
    queryList = generator.generateQueries();
  }
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    analyser = new OntologyAnalyser();
  }
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    extractor = new OWLOntoElementExtractor(ontology);
  }
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    OWLOntology ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    OWLOntoElementExtractor ontoExtractor =
        new OWLOntoElementExtractor(ontology);
    OWLPropertyExpressionGenerator owlPropertyExpressionGenerator =
      new OWLPropertyExpressionGenerator(ontoExtractor);
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    OWLOntology ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    OWLOntoElementExtractor ontoExtractor = new OWLOntoElementExtractor(ontology);
    generator = new OWLObjectPropertyExpressionGenerator(ontoExtractor);
  }
View Full Code Here

    TestCase testCase = new TestCase(ontology, query, reasonerManager);
    testCase.getFastestReasoner();
  }
 
  private OWLOntology getOntology(String path){
    OntologyManager manager = new OntologyManager();
    return manager.getOntology(IRI.create(new File(path)));
  }
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    OWLOntology ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    OWLOntoElementExtractor ontoExtractor = new OWLOntoElementExtractor(ontology);
   
//    generator = new OWLClassExpressionGenerator(ontoExtractor);
  }
View Full Code Here

  public static void tearDownAfterClass() throws Exception {
  }

  @Before
  public void setUp() throws Exception {
    OWLOntology ontology = (new OntologyManager()).getOntology(
        IRI.create(TestParameters.ontologyIri));
    OWLOntoElementExtractor ontoExtractor = new OWLOntoElementExtractor(ontology);
    generator = new OWLPropertyExpressionGenerator(ontoExtractor);
  }
View Full Code Here

TOP

Related Classes of org.herakles.ml.selection.trainingData.OntologyManager

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.