Examples of OWLOntoElementExtractor


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

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

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

  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);
    OWLDataPropertyExpressionGenerator owlDataPropertyExpressionGenerator =
      new OWLDataPropertyExpressionGenerator(ontoExtractor);
    OWLClassExpressionGenerator generator =
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.