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 ClassExpression <|-- AnonymousClassExpression ClassExpression <|-- ClassDefinition ClassExpression : all_of ClassExpression --> anonymous_class_expression : all_of ClassExpression : any_of ClassExpression --> anonymous_class_expression : any_of ClassExpression : exactly_one_of ClassExpression --> anonymous_class_expression : exactly_one_of ClassExpression : none_of ClassExpression --> anonymous_class_expression : none_of ClassExpression : slot_conditions ClassExpression --> slot_definition : slot_conditions

Slots

Name Cardinality and Range Description Inheritance
any_of 0..*
AnonymousClassExpression
holds if at least one of the expressions hold direct
exactly_one_of 0..*
AnonymousClassExpression
holds if only one of the expressions hold direct
none_of 0..*
AnonymousClassExpression
holds if none of the expressions hold direct
all_of 0..*
AnonymousClassExpression
holds if all of the expressions hold direct
slot_conditions 0..*
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

  • 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
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  all_of:
    name: all_of
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  exactly_one_of:
    name: exactly_one_of
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  none_of:
    name: none_of
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    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
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  all_of:
    name: all_of
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  exactly_one_of:
    name: exactly_one_of
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  none_of:
    name: none_of
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
attributes:
  any_of:
    name: any_of
    description: holds if at least one of the expressions hold
    from_schema: https://w3id.org/linkml/meta
    rank: 101
    is_a: boolean_slot
    multivalued: true
    alias: any_of
    owner: class_expression
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  exactly_one_of:
    name: exactly_one_of
    description: holds if only one of the expressions hold
    from_schema: https://w3id.org/linkml/meta
    rank: 103
    is_a: boolean_slot
    multivalued: true
    alias: exactly_one_of
    owner: class_expression
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  none_of:
    name: none_of
    description: holds if none of the expressions hold
    from_schema: https://w3id.org/linkml/meta
    rank: 105
    is_a: boolean_slot
    multivalued: true
    alias: none_of
    owner: class_expression
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  all_of:
    name: all_of
    description: holds if all of the expressions hold
    from_schema: https://w3id.org/linkml/meta
    rank: 107
    is_a: boolean_slot
    multivalued: true
    alias: all_of
    owner: class_expression
    domain_of:
    - type_expression
    - path_expression
    - slot_expression
    - class_expression
    range: anonymous_class_expression
  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
    multivalued: true
    alias: slot_conditions
    owner: class_expression
    domain_of:
    - class_expression
    range: slot_definition
    inlined: true