owltools.mooncat
Class DLQueryTool

java.lang.Object
  extended by owltools.mooncat.DLQueryTool

public class DLQueryTool
extends Object

Tools for running DL queries on OWLOntology. TODO decide on final package and name


Constructor Summary
DLQueryTool()
           
 
Method Summary
static Set<org.semanticweb.owlapi.model.OWLClass> executeDLQuery(String dlQuery, OWLGraphWrapper graph, org.semanticweb.owlapi.reasoner.OWLReasonerFactory reasonerFactory)
          Execute the DL query on the given ontology graph.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLQueryTool

public DLQueryTool()
Method Detail

executeDLQuery

public static Set<org.semanticweb.owlapi.model.OWLClass> executeDLQuery(String dlQuery,
                                                                        OWLGraphWrapper graph,
                                                                        org.semanticweb.owlapi.reasoner.OWLReasonerFactory reasonerFactory)
                                                                 throws org.semanticweb.owlapi.expression.ParserException,
                                                                        org.semanticweb.owlapi.model.OWLOntologyCreationException
Execute the DL query on the given ontology graph. Uses the factory to create the OWLReasoner for an internal query ontology.

Parameters:
dlQuery -
graph -
reasonerFactory -
Returns:
set of OWLClass which
Throws:
org.semanticweb.owlapi.expression.ParserException
org.semanticweb.owlapi.model.OWLOntologyCreationException


Copyright © 2010-2012. All Rights Reserved.