Skip to content

Class: ClassExpression

A boolean expression that can be used to dynamically determine membership of a class

URI: linkml:ClassExpression

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"

Slots

Name Cardinality and Range Description Inheritance
any_of *
AnonymousClassExpression
holds if at least one of the expressions hold direct
exactly_one_of *
AnonymousClassExpression
holds if only one of the expressions hold direct
none_of *
AnonymousClassExpression
holds if none of the expressions hold direct
all_of *
AnonymousClassExpression
holds if all of the expressions hold direct
slot_conditions *
SlotDefinition
expresses constraints on a group of slots for a class expression direct

Mixin Usage

mixed into description
AnonymousClassExpression
ClassDefinition an element whose instances are complex objects that may have slot-value assig...

Usages

used by used in type used
ClassExpression slot_conditions domain ClassExpression
AnonymousClassExpression slot_conditions domain ClassExpression
ClassDefinition slot_conditions domain ClassExpression

Identifier and Mapping Information

Schema Source

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

Induced

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
    alias: any_of
    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
    alias: exactly_one_of
    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
    alias: none_of
    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
    alias: all_of
    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
    alias: slot_conditions
    owner: class_expression
    domain_of:
    - class_expression
    range: slot_definition
    multivalued: true
    inlined: true