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

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


    OWLOntoElementExtractor ontoExtractor = new OWLOntoElementExtractor(ontology);
    OWLObjectPropertyExpressionGenerator owlObjectPropertyExpressionGenerator =
      new OWLObjectPropertyExpressionGenerator(ontoExtractor);
    OWLDataPropertyExpressionGenerator owlDataPropertyExpressionGenerator =
      new OWLDataPropertyExpressionGenerator(ontoExtractor);
    OWLClassExpressionGenerator generator =
        new OWLClassExpressionGenerator(ontoExtractor,
            owlObjectPropertyExpressionGenerator, owlDataPropertyExpressionGenerator);
    ClassExpressionAnalyser analyser = new ClassExpressionAnalyser();
   
    OWLClassExpression expression = generator.getOWLClassExpression();
    System.out.println(expression);
    System.out.println("-----------------------");
    for(String s: analyser.getFeatures(ontology, expression)){
      System.out.print(s + "\t");
    }
View Full Code Here

TOP

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

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.