Examples of OntologyManager


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

  public static void tearDownAfterClass() throws Exception {
  }

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

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

  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 OWLDataPropertyExpressionGenerator(ontoExtractor);
  }
View Full Code Here

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

  public static void tearDownAfterClass() throws Exception {
  }

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

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

  private boolean isOWLClass(String str){
    return ontology.containsClassInSignature(IRI.create(str));
  }
 
  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

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

  private String[] ontoFileNames;
 
  private ResultFileGenerator resultFileGenerator;
 
  public Test(){
    ontologyManager = new OntologyManager();
    ontoFolder = new File(FileLocator.ONTOLOGY_FOLDER);
    ontoFileNames = ontoFolder.list();
    resultFileGenerator = new ResultFileGenerator();
   
    test();
View Full Code Here

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

 
  private ServerManager serverManager;
 
  public OWLLinkParalellTest(String ontoFileName){
    serverManager = new ServerManager();
    ontologyManager = new OntologyManager();
    ontoFolder = new File(FileLocator.ONTOLOGY_FOLDER);
   
    test(ontoFileName);
  }
View Full Code Here

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

  private ResultFileGenerator resultFileGenerator;
 
  private TestWithoutOwllink testWithoutOwllink;
 
  public Test(String ontoFileName){
    ontologyManager = new OntologyManager();
    ontoFolder = new File(FileLocator.ONTOLOGY_FOLDER);
    backupFolder = new File(FileLocator.BACKUP_FOLDER);
    resultFileGenerator = new ResultFileGenerator();
    testWithoutOwllink = new TestWithoutOwllink();
   
View Full Code Here

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

 
  private ReasonerManager reasonerManager;
 
  public Test(String ontoFileName){
    reasonerManager = new DirectReasonerManager();
    ontologyManager = new OntologyManager();
    ontoFolder = new File(FileLocator.ONTOLOGY_FOLDER);
   
    test(ontoFileName);
  }
View Full Code Here

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

  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);
    OWLClassExpressionGenerator owlClassExpressionGenerator =
        new OWLClassExpressionGenerator(ontoExtractor);
View Full Code Here

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

  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
TOP
Copyright © 2018 www.massapi.com. 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.