public class CheckSubsSanctionRule extends java.lang.Object implements PropertySanctionRule
Looks at the direct subclasses to determine which properties are used as they may be considered distinguishing features.
Sanction is met if for all d where DirectStrictSubClassOf(c, d) if isCurrent(d, p, true) is entailed.
See OWLReasoner for definition of DirectStrictSubClassOf
| Constructor and Description |
|---|
CheckSubsSanctionRule() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
meetsSanction(org.semanticweb.owlapi.model.OWLClassExpression c,
org.semanticweb.owlapi.model.OWLDataProperty p) |
boolean |
meetsSanction(org.semanticweb.owlapi.model.OWLClassExpression c,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression p) |
void |
setSuggestor(PropertySuggestor ps)
Called by the suggestor when the rule has been registered (in case the
rule requires suggestor methods)
|
public void setSuggestor(PropertySuggestor ps)
PropertySanctionRulesetSuggestor in interface PropertySanctionRuleps - The PropertySuggestorpublic boolean meetsSanction(org.semanticweb.owlapi.model.OWLClassExpression c,
org.semanticweb.owlapi.model.OWLObjectPropertyExpression p)
meetsSanction in interface PropertySanctionRulec - a class expressionp - an object propertypublic boolean meetsSanction(org.semanticweb.owlapi.model.OWLClassExpression c,
org.semanticweb.owlapi.model.OWLDataProperty p)
meetsSanction in interface PropertySanctionRulec - a class expressionp - a data propertyCopyright © 2014 The University of Manchester. All Rights Reserved.