Class: ReachabilityQuery
A query that is used on an enum expression to dynamically obtain a set of permissible values via walking from a set of source nodes to a set of descendants or ancestors over a set of relationship types.
 classDiagram
    class ReachabilityQuery
      ReachabilityQuery : include_self
      ReachabilityQuery : is_direct
      ReachabilityQuery : relationship_types
      ReachabilityQuery : source_nodes
      ReachabilityQuery : source_ontology
      ReachabilityQuery : traverse_up
Slots
| Name | Cardinality and Range | Description | Inheritance | 
|---|---|---|---|
| source_ontology | 0..1  Uriorcurie  | 
An ontology or vocabulary or terminology that is used in a query to obtain a ... | direct | 
| source_nodes | 0..*  Uriorcurie  | 
A list of nodes that are used in the reachability query | direct | 
| relationship_types | 0..*  Uriorcurie  | 
A list of relationship types (properties) that are used in a reachability que... | direct | 
| is_direct | 0..1  Boolean  | 
True if the reachability query should only include directly related nodes, if... | direct | 
| include_self | 0..1  Boolean  | 
True if the query is reflexive | direct | 
| traverse_up | 0..1  Boolean  | 
True if the direction of the reachability query is reversed and ancestors are... | direct | 
Usages
| used by | used in | type | used | 
|---|---|---|---|
| EnumExpression | reachable_from | range | ReachabilityQuery | 
| AnonymousEnumExpression | reachable_from | range | ReachabilityQuery | 
| EnumDefinition | reachable_from | range | ReachabilityQuery | 
| ReachabilityQuery | source_nodes | domain | ReachabilityQuery | 
| ReachabilityQuery | relationship_types | domain | ReachabilityQuery | 
| ReachabilityQuery | is_direct | domain | ReachabilityQuery | 
| ReachabilityQuery | include_self | domain | ReachabilityQuery | 
| ReachabilityQuery | traverse_up | domain | ReachabilityQuery | 
Identifier and Mapping Information
Schema Source
- from schema: https://w3id.org/linkml/meta
 
Mappings
| Mapping Type | Mapped Value | 
|---|---|
| self | linkml:ReachabilityQuery | 
| native | linkml:ReachabilityQuery | 
LinkML Source
Direct
name: reachability_query
description: A query that is used on an enum expression to dynamically obtain a set
  of permissible values via walking from a  set of source nodes to a set of descendants
  or ancestors over a set of relationship types.
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
slots:
- source_ontology
- source_nodes
- relationship_types
- is_direct
- include_self
- traverse_up
Induced
name: reachability_query
description: A query that is used on an enum expression to dynamically obtain a set
  of permissible values via walking from a  set of source nodes to a set of descendants
  or ancestors over a set of relationship types.
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
attributes:
  source_ontology:
    name: source_ontology
    description: An ontology or vocabulary or terminology that is used in a query
      to obtain a set of permissible values
    comments:
    - examples include schema.org, wikidata, or an OBO ontology
    - for obo ontologies we recommend CURIEs of the form obo:cl, obo:envo, etc
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    aliases:
    - terminology
    - vocabulary
    rank: 1000
    alias: source_ontology
    owner: reachability_query
    domain_of:
    - match_query
    - reachability_query
    range: uriorcurie
  source_nodes:
    name: source_nodes
    description: A list of nodes that are used in the reachability query
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    rank: 1000
    domain: reachability_query
    multivalued: true
    alias: source_nodes
    owner: reachability_query
    domain_of:
    - reachability_query
    range: uriorcurie
  relationship_types:
    name: relationship_types
    description: A list of relationship types (properties) that are used in a reachability
      query
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    aliases:
    - predicates
    - properties
    rank: 1000
    domain: reachability_query
    multivalued: true
    alias: relationship_types
    owner: reachability_query
    domain_of:
    - reachability_query
    range: uriorcurie
  is_direct:
    name: is_direct
    description: True if the reachability query should only include directly related
      nodes, if False then include also transitively connected
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    aliases:
    - non-transitive
    rank: 1000
    domain: reachability_query
    alias: is_direct
    owner: reachability_query
    domain_of:
    - reachability_query
    range: boolean
  include_self:
    name: include_self
    description: True if the query is reflexive
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    aliases:
    - reflexive
    rank: 1000
    domain: reachability_query
    alias: include_self
    owner: reachability_query
    domain_of:
    - reachability_query
    range: boolean
  traverse_up:
    name: traverse_up
    description: True if the direction of the reachability query is reversed and ancestors
      are retrieved
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    aliases:
    - ancestors
    rank: 1000
    domain: reachability_query
    alias: traverse_up
    owner: reachability_query
    domain_of:
    - reachability_query
    range: boolean