Skip to content

Slot: preconditions

an expression that must hold in order for the rule to be applicable to an instance

URI: [sh:condition](http://www.w3.org/ns/shacl#condition) ## Applicable Classes | Name | Description | Modifies Slot | | --- | --- | --- | | [ClassRule](ClassRule.md) | A rule that applies to instances of a class | no | ## Properties ### Type and Range | Property | Value | | --- | --- | | Range | [AnonymousClassExpression](AnonymousClassExpression.md) | | Domain Of | [ClassRule](ClassRule.md) | | Slot URI | [sh:condition](http://www.w3.org/ns/shacl#condition) | ### Cardinality and Requirements | Property | Value | | --- | --- | ## In Subsets * [SpecificationSubset](SpecificationSubset.md) ## Aliases * if * body * antecedents ## See Also * [https://w3id.org/linkml/docs/specification/05validation/#rules](https://w3id.org/linkml/docs/specification/05validation/#rules) ## Identifier and Mapping Information ### Administrative Metadata **Rank:** 111 ### Schema Source * from schema: https://w3id.org/linkml/meta ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | sh:condition | | native | linkml:preconditions | | close | swrl:body | ## LinkML Source
name: preconditions
description: an expression that must hold in order for the rule to be applicable to
  an instance
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
see_also:
- https://w3id.org/linkml/docs/specification/05validation/#rules
aliases:
- if
- body
- antecedents
close_mappings:
- swrl:body
rank: 111
slot_uri: sh:condition
domain_of:
- class_rule
range: anonymous_class_expression
inlined: true