Class: class_rule
A rule that applies to instances of a class
- Canonical name:
ClassRule - Other names: if rule
- Names in code:
ClassRule(Scala, TypeScript, Python, Java, Rust, GraphQL) - URI:
linkml:ClassRule(https://w3id.org/linkml/ClassRule) - Parent: class_level_rule
- Mixins: extensible, annotatable, common_metadata
- Close mappings:
sh:TripleRule,swrl:Imp - Subsets: SpecificationSubset
Inheritance
Section titled “Inheritance”- class_level_rule
- class_rule
Own slots
Section titled “Own slots”-
the relative order in which the element occurs, lower values are given precedence
-
preconditions · anonymous_class_expression
an expression that must hold in order for the rule to be applicable to an instance
-
postconditions · anonymous_class_expression
an expression that must hold for an instance of the class, if the preconditions hold
-
elseconditions · anonymous_class_expression
an expression that must hold for an instance of the class, if the preconditions no not hold
-
in addition to preconditions entailing postconditions, the postconditions entail the preconditions
-
a deactivated rule is not executed by the rules engine
-
if true, the the postconditions may be omitted in instance data, but it is valid for an inference engine to add these
-
extensions · list of extension
a tag/text tuple attached to an arbitrary element
-
annotations · list of annotation
a collection of tag/text tuples with the semantics of OWL Annotation
-
A concise human-readable display label for the element. The title should mirror the name, and should use ordinary textual punctuation.
-
a textual description of the element’s purpose and use
-
aliases · list of langstring
Alternate names/labels for the element. These do not alter the semantics of the schema, but may be useful to support search and alignment.
-
alt_descriptions · list of alt_description
A sourced alternative description for an element
-
broad_mappings · list of uriorcurie
A list of terms from different schemas or terminology systems that have broader meaning.
-
categories · list of uriorcurie
Controlled terms used to categorize an element.
-
close_mappings · list of uriorcurie
A list of terms from different schemas or terminology systems that have close meaning.
-
comments · list of langstring
notes and comments about an element intended primarily for external consumption
-
contributors · list of uriorcurie
agent that contributed to the element
-
agent that created the element
-
time at which the element was created
-
Description of why and when this element will no longer be used
-
deprecated_element_has_exact_replacement · uriorcurie
When an element is deprecated, it can be automatically replaced by this uri or curie
-
deprecated_element_has_possible_replacement · uriorcurie
When an element is deprecated, it can be potentially replaced by this uri or curie
-
exact_mappings · list of uriorcurie
A list of terms from different schemas or terminology systems that have identical meaning.
-
example usages of an element
-
id of the schema that defined the element
-
the imports entry that this element was derived from. Empty means primary source
-
the primary language used in the sources
-
keywords · list of langstring
Keywords or tags used to describe the element
-
time at which the element was last updated
-
mappings · list of uriorcurie
A list of terms from different schemas or terminology systems that have comparable meaning. These may include terms that are precisely equivalent, broader or narrower in meaning, or otherwise semantically related but not equivalent from a strict ontological perspective.
-
agent that modified the element
-
narrow_mappings · list of uriorcurie
A list of terms from different schemas or terminology systems that have narrower meaning.
-
notes · list of langstring
editorial notes about an element intended primarily for internal consumption
-
related_mappings · list of uriorcurie
A list of terms from different schemas or terminology systems that have related meaning.
-
see_also · list of uriorcurie
A list of related entities or URLs that may be of relevance
-
A related resource from which the element is derived.
-
status of the element
-
structured_aliases · list of structured_alias
A list of structured_alias objects, used to provide aliases in conjunction with additional metadata.
-
Outstanding issues that needs resolution
-
in_subset · list of subset_definition (reference)
used to indicate membership of a term in a defined subset of terms used for a particular domain or application.
Usages
Section titled “Usages”| Used by | Slot | Cardinality |
|---|---|---|
| class_definition | rules | 0..* |