Class QueryingWithNamedClasses
java.lang.Object
org.semanticweb.elk.owlapi.examples.QueryingWithNamedClasses
public class QueryingWithNamedClasses extends Object
Illustrates querying the ontology for the list of subclasses of a named
class.
- Author:
- Samuel Croset samuel.croset@gmail.com, Peter Skocovsky
-
Constructor Summary
Constructors Constructor Description QueryingWithNamedClasses() -
Method Summary
Modifier and Type Method Description Set<org.semanticweb.owlapi.model.OWLClass>getSubClasses(String expression)static voidmain(String[] args)org.semanticweb.owlapi.model.OWLClassExpressionparseClassExpression(String expression)
-
Constructor Details
-
QueryingWithNamedClasses
public QueryingWithNamedClasses() throws org.semanticweb.owlapi.model.OWLOntologyCreationException- Throws:
org.semanticweb.owlapi.model.OWLOntologyCreationException
-
-
Method Details
-
main
public static void main(String[] args) throws org.semanticweb.owlapi.model.OWLOntologyCreationException- Throws:
org.semanticweb.owlapi.model.OWLOntologyCreationException
-
getSubClasses
-
parseClassExpression
-