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

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
source_ontology 0..1
Uriorcurie
An ontology or vocabulary or terminology that is used in a query to obtain a ...
source_nodes 0..*
Uriorcurie
A list of nodes that are used in the reachability query
relationship_types 0..*
Uriorcurie
A list of relationship types (properties) that are used in a reachability que...
is_direct 0..1
Boolean
True if the reachability query should only include directly related nodes, if...
include_self 0..1
Boolean
True if the query is reflexive
traverse_up 0..1
Boolean
True if the direction of the reachability query is reversed and ancestors are...

Usages

used by used in type used
EnumExpression reachable_from range reachability_query
AnonymousEnumExpression reachable_from range reachability_query
EnumDefinition reachable_from range reachability_query
ReachabilityQuery source_nodes domain reachability_query
ReachabilityQuery relationship_types domain reachability_query
ReachabilityQuery is_direct domain reachability_query
ReachabilityQuery include_self domain reachability_query
ReachabilityQuery traverse_up domain reachability_query

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 Specification

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
rank: 1000
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
rank: 1000
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
    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