Package org.herakles.ml.selection.trainingData.queryGenerate

Examples of org.herakles.ml.selection.trainingData.queryGenerate.QueryGenerator


    OntologyManager manager = new OntologyManager();
    return manager.getOntology(IRI.create(new File(path)));
  }
 
  private List<QueryImpl> getQuery(OWLOntology ontology){
    QueryGenerator generator = new QueryGenerator(ontology);
    return generator.generateQueries();
  }
View Full Code Here


      System.out.print(ontoFileName + ".....");
     
      File ontoFile = new File(ontoFolder, ontoFileName);
      OWLOntology ontology = ontologyManager.getOntology(IRI.create(ontoFile));
     
      QueryGenerator queryGenerator = new QueryGenerator(ontology);
      List<QueryImpl> queryList = queryGenerator.generateQueries();
     
      resultFileGenerator.write(ontoFileName, test(ontology, queryList));
     
      System.out.println("ok!");
    }
View Full Code Here

        ontoFile.delete();
        System.out.println("Failed: \"" + ontoFileName + "\" is not a valid owl file!");
        return;
      }
     
      QueryGenerator queryGenerator = new QueryGenerator(ontology);
      List<Query> queryList = queryGenerator.generateQueries();
     
      new SingleTest(ontoFileName, ontology, queryList, serverManager).test();
     
      System.out.println("ok!");
     
View Full Code Here

        ontoFile.delete();
        System.out.println("Failed: \"" + ontoFileName + "\" is not a valid owl file!");
        return;
      }
     
      QueryGenerator queryGenerator = new QueryGenerator(ontology);
      List<QueryImpl> queryList = queryGenerator.generateQueries();
     
      TimeoutController.getTimeoutController().start();
     
      resultFileGenerator.write(ontoFileName, test(ontology, queryList));
     
View Full Code Here

        ontoFile.delete();
        System.out.println("Failed: \"" + ontoFileName + "\" is not a valid owl file!");
        return;
      }
     
      QueryGenerator queryGenerator = new QueryGenerator(ontology);
      List<QueryImpl> queryList = queryGenerator.generateQueries();
     
      new SingleTest(ontoFileName, ontology, queryList, reasonerManager).test();
     
      System.out.println("ok!");
  }
View Full Code Here

TOP

Related Classes of org.herakles.ml.selection.trainingData.queryGenerate.QueryGenerator

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.