public class CheckSubsStructureSanctionRule extends Object implements PropertySanctionRule
Looks at the direct subclasses to determine which properties are restricted.
Sanction is met if for all d where DirectStrictSubClassOf(c, d) if SubClassOf(d, p only x) is asserted (where x is any class expression).
NNF is used when evaluating candidate restrictions.
| Constructor and Description |
|---|
CheckSubsStructureSanctionRule() |
| 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 © 2013 The University of Manchester. All Rights Reserved.