Class: ClassExpression
A boolean expression that can be used to dynamically determine membership of a class
URI: [linkml:ClassExpression](https://w3id.org/linkml/ClassExpression)
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if at least one of the expressions hold | direct | | [exactly_one_of](exactly_one_of.md) | *
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if only one of the expressions hold | direct | | [none_of](none_of.md) | *
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if none of the expressions hold | direct | | [all_of](all_of.md) | *
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if all of the expressions hold | direct | | [slot_conditions](slot_conditions.md) | *
[SlotDefinition](SlotDefinition.md) | expresses constraints on a group of slots for a class expression | direct | ## Mixin Usage | mixed into | description | | --- | --- | | [AnonymousClassExpression](AnonymousClassExpression.md) | | | [ClassDefinition](ClassDefinition.md) | an element whose instances are complex objects that may have slot-value assig... | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [ClassExpression](ClassExpression.md) | [slot_conditions](slot_conditions.md) | domain | [ClassExpression](ClassExpression.md) | | [AnonymousClassExpression](AnonymousClassExpression.md) | [slot_conditions](slot_conditions.md) | domain | [ClassExpression](ClassExpression.md) | | [ClassDefinition](ClassDefinition.md) | [slot_conditions](slot_conditions.md) | domain | [ClassExpression](ClassExpression.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/meta ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkml:ClassExpression | | native | linkml:ClassExpression | ## LinkML Source ### Direct
### Induced
classDiagram
class ClassExpression
click ClassExpression href "../ClassExpression/"
ClassExpression <|-- AnonymousClassExpression
click AnonymousClassExpression href "../AnonymousClassExpression/"
ClassExpression <|-- ClassDefinition
click ClassDefinition href "../ClassDefinition/"
ClassExpression : all_of
ClassExpression --> "*" AnonymousClassExpression : all_of
click AnonymousClassExpression href "../AnonymousClassExpression/"
ClassExpression : any_of
ClassExpression --> "*" AnonymousClassExpression : any_of
click AnonymousClassExpression href "../AnonymousClassExpression/"
ClassExpression : exactly_one_of
ClassExpression --> "*" AnonymousClassExpression : exactly_one_of
click AnonymousClassExpression href "../AnonymousClassExpression/"
ClassExpression : none_of
ClassExpression --> "*" AnonymousClassExpression : none_of
click AnonymousClassExpression href "../AnonymousClassExpression/"
ClassExpression : slot_conditions
ClassExpression --> "*" SlotDefinition : slot_conditions
click SlotDefinition href "../SlotDefinition/"
## Class Properties
| Property | Value |
| --- | --- |
| Mixin | Yes |
## Slots
| Name | Cardinality and Range | Description | Inheritance |
| --- | --- | --- | --- |
| [any_of](any_of.md) | * [AnonymousClassExpression](AnonymousClassExpression.md) | holds if at least one of the expressions hold | direct | | [exactly_one_of](exactly_one_of.md) | *
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if only one of the expressions hold | direct | | [none_of](none_of.md) | *
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if none of the expressions hold | direct | | [all_of](all_of.md) | *
[AnonymousClassExpression](AnonymousClassExpression.md) | holds if all of the expressions hold | direct | | [slot_conditions](slot_conditions.md) | *
[SlotDefinition](SlotDefinition.md) | expresses constraints on a group of slots for a class expression | direct | ## Mixin Usage | mixed into | description | | --- | --- | | [AnonymousClassExpression](AnonymousClassExpression.md) | | | [ClassDefinition](ClassDefinition.md) | an element whose instances are complex objects that may have slot-value assig... | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [ClassExpression](ClassExpression.md) | [slot_conditions](slot_conditions.md) | domain | [ClassExpression](ClassExpression.md) | | [AnonymousClassExpression](AnonymousClassExpression.md) | [slot_conditions](slot_conditions.md) | domain | [ClassExpression](ClassExpression.md) | | [ClassDefinition](ClassDefinition.md) | [slot_conditions](slot_conditions.md) | domain | [ClassExpression](ClassExpression.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/linkml/meta ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | linkml:ClassExpression | | native | linkml:ClassExpression | ## LinkML Source ### Direct
name: class_expression
description: A boolean expression that can be used to dynamically determine membership
of a class
from_schema: https://w3id.org/linkml/meta
mixin: true
slots:
- any_of
- exactly_one_of
- none_of
- all_of
- slot_conditions
slot_usage:
any_of:
name: any_of
range: anonymous_class_expression
all_of:
name: all_of
range: anonymous_class_expression
exactly_one_of:
name: exactly_one_of
range: anonymous_class_expression
none_of:
name: none_of
range: anonymous_class_expression
name: class_expression
description: A boolean expression that can be used to dynamically determine membership
of a class
from_schema: https://w3id.org/linkml/meta
mixin: true
slot_usage:
any_of:
name: any_of
range: anonymous_class_expression
all_of:
name: all_of
range: anonymous_class_expression
exactly_one_of:
name: exactly_one_of
range: anonymous_class_expression
none_of:
name: none_of
range: anonymous_class_expression
attributes:
any_of:
name: any_of
description: holds if at least one of the expressions hold
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
see_also:
- https://w3id.org/linkml/docs/specification/05validation/#rules
exact_mappings:
- sh:or
rank: 101
is_a: boolean_slot
owner: class_expression
domain_of:
- type_expression
- path_expression
- slot_expression
- class_expression
range: anonymous_class_expression
multivalued: true
exactly_one_of:
name: exactly_one_of
description: holds if only one of the expressions hold
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
see_also:
- https://w3id.org/linkml/docs/specification/05validation/#rules
exact_mappings:
- sh:xone
rank: 103
is_a: boolean_slot
owner: class_expression
domain_of:
- type_expression
- path_expression
- slot_expression
- class_expression
range: anonymous_class_expression
multivalued: true
none_of:
name: none_of
description: holds if none of the expressions hold
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
see_also:
- https://w3id.org/linkml/docs/specification/05validation/#rules
exact_mappings:
- sh:not
rank: 105
is_a: boolean_slot
owner: class_expression
domain_of:
- type_expression
- path_expression
- slot_expression
- class_expression
range: anonymous_class_expression
multivalued: true
all_of:
name: all_of
description: holds if all of the expressions hold
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
see_also:
- https://w3id.org/linkml/docs/specification/05validation/#rules
exact_mappings:
- sh:and
rank: 107
is_a: boolean_slot
owner: class_expression
domain_of:
- type_expression
- path_expression
- slot_expression
- class_expression
range: anonymous_class_expression
multivalued: true
slot_conditions:
name: slot_conditions
description: expresses constraints on a group of slots for a class expression
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
rank: 1000
domain: class_expression
owner: class_expression
domain_of:
- class_expression
range: slot_definition
multivalued: true
inlined: true