Skip to content

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.

URI: [linkml:ReachabilityQuery](https://w3id.org/linkml/ReachabilityQuery)
classDiagram class ReachabilityQuery click ReachabilityQuery href "../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](source_ontology.md) | 0..1
[Uriorcurie](Uriorcurie.md) | An ontology or vocabulary or terminology that is used in a query to obtain a ... | direct | | [source_nodes](source_nodes.md) | *
[Uriorcurie](Uriorcurie.md) | A list of nodes that are used in the reachability query | direct | | [relationship_types](relationship_types.md) | *
[Uriorcurie](Uriorcurie.md) | A list of relationship types (properties) that are used in a reachability que... | direct | | [is_direct](is_direct.md) | 0..1
[Boolean](Boolean.md) | True if the reachability query should only include directly related nodes, if... | direct | | [include_self](include_self.md) | 0..1
[Boolean](Boolean.md) | True if the query is reflexive | direct | | [traverse_up](traverse_up.md) | 0..1
[Boolean](Boolean.md) | True if the direction of the reachability query is reversed and ancestors are... | direct | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [EnumExpression](EnumExpression.md) | [reachable_from](reachable_from.md) | range | [ReachabilityQuery](ReachabilityQuery.md) | | [AnonymousEnumExpression](AnonymousEnumExpression.md) | [reachable_from](reachable_from.md) | range | [ReachabilityQuery](ReachabilityQuery.md) | | [EnumDefinition](EnumDefinition.md) | [reachable_from](reachable_from.md) | range | [ReachabilityQuery](ReachabilityQuery.md) | | [ReachabilityQuery](ReachabilityQuery.md) | [source_nodes](source_nodes.md) | domain | [ReachabilityQuery](ReachabilityQuery.md) | | [ReachabilityQuery](ReachabilityQuery.md) | [relationship_types](relationship_types.md) | domain | [ReachabilityQuery](ReachabilityQuery.md) | | [ReachabilityQuery](ReachabilityQuery.md) | [is_direct](is_direct.md) | domain | [ReachabilityQuery](ReachabilityQuery.md) | | [ReachabilityQuery](ReachabilityQuery.md) | [include_self](include_self.md) | domain | [ReachabilityQuery](ReachabilityQuery.md) | | [ReachabilityQuery](ReachabilityQuery.md) | [traverse_up](traverse_up.md) | domain | [ReachabilityQuery](ReachabilityQuery.md) | ## In Subsets * [SpecificationSubset](SpecificationSubset.md) ## 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
    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
    owner: reachability_query
    domain_of:
    - reachability_query
    range: uriorcurie
    multivalued: true
  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
    owner: reachability_query
    domain_of:
    - reachability_query
    range: uriorcurie
    multivalued: true
  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
    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
    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
    owner: reachability_query
    domain_of:
    - reachability_query
    range: boolean