public final class InferredModelQuerySolver extends Object implements QuerySolver
| Constructor and Description |
|---|
InferredModelQuerySolver(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner) |
| Modifier and Type | Method and Description |
|---|---|
Set<org.semanticweb.owlapi.model.OWLNamedIndividual> |
getNamedFillers(org.semanticweb.owlapi.model.OWLNamedIndividual subject,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression objectProperty)
Retrieves all the named individuals that can be inferred to be fillers
for the input subject and object property expression
|
Set<org.semanticweb.owlapi.model.OWLClass> |
getSubClasses(org.semanticweb.owlapi.model.OWLClassExpression superClass)
Retrieves all the named classes that are a sub-classes of the input
OWLClassExpression.
|
Set<org.semanticweb.owlapi.model.OWLClass> |
getSuperClasses(org.semanticweb.owlapi.model.OWLClassExpression subClass)
Retrieves all the named classes that are a super-classes of the input
OWLClassExpression.
|
boolean |
hasNoSubClass(org.semanticweb.owlapi.model.OWLClassExpression superClass)
Determines whether the input OWLClassExpression has no sub-class.
|
boolean |
hasNoSuperClass(org.semanticweb.owlapi.model.OWLClassExpression subClass)
Determines whether the input OWLClassExpression has no super-class.
|
public InferredModelQuerySolver(org.semanticweb.owlapi.reasoner.OWLReasoner reasoner)
reasoner - reasonerpublic Set<org.semanticweb.owlapi.model.OWLClass> getSubClasses(org.semanticweb.owlapi.model.OWLClassExpression superClass)
QuerySolvergetSubClasses in interface QuerySolversuperClass - superClasspublic Set<org.semanticweb.owlapi.model.OWLClass> getSuperClasses(org.semanticweb.owlapi.model.OWLClassExpression subClass)
QuerySolvergetSuperClasses in interface QuerySolversubClass - subClasspublic boolean hasNoSubClass(org.semanticweb.owlapi.model.OWLClassExpression superClass)
QuerySolverhasNoSubClass in interface QuerySolversuperClass - superClasstrue is the input superClass does not have any sub-class
except for owl:Nothing.public boolean hasNoSuperClass(org.semanticweb.owlapi.model.OWLClassExpression subClass)
QuerySolverhasNoSuperClass in interface QuerySolversubClass - subClasstrue is the input subClass does not have any super-class
except for owl:Thing.public Set<org.semanticweb.owlapi.model.OWLNamedIndividual> getNamedFillers(org.semanticweb.owlapi.model.OWLNamedIndividual subject, org.semanticweb.owlapi.model.OWLObjectPropertyExpression objectProperty)
QuerySolvergetNamedFillers in interface QuerySolversubject - subjectobjectProperty - objectPropertyCopyright © 2015 The University of Manchester. All Rights Reserved.