Skip to content

Class: MatchQuery

A query that is used on an enum expression to dynamically obtain a set of permissible values via a query that matches on properties of the external concepts.

URI: [linkml:MatchQuery](https://w3id.org/linkml/MatchQuery)
classDiagram class MatchQuery click MatchQuery href "../MatchQuery/" MatchQuery : identifier_pattern MatchQuery : source_ontology
## Slots | Name | Cardinality and Range | Description | Inheritance | | --- | --- | --- | --- | | [identifier_pattern](identifier_pattern.md) | 0..1
[String](String.md) | A regular expression that is used to obtain a set of identifiers from a sourc... | direct | | [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 | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [EnumExpression](EnumExpression.md) | [matches](matches.md) | range | [MatchQuery](MatchQuery.md) | | [AnonymousEnumExpression](AnonymousEnumExpression.md) | [matches](matches.md) | range | [MatchQuery](MatchQuery.md) | | [EnumDefinition](EnumDefinition.md) | [matches](matches.md) | range | [MatchQuery](MatchQuery.md) | | [MatchQuery](MatchQuery.md) | [identifier_pattern](identifier_pattern.md) | domain | [MatchQuery](MatchQuery.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:MatchQuery | | native | linkml:MatchQuery | ## LinkML Source ### Direct
name: match_query
description: A query that is used on an enum expression to dynamically obtain a set
  of permissible values via a query that matches on properties of the external concepts.
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
slots:
- identifier_pattern
- source_ontology

### Induced
name: match_query
description: A query that is used on an enum expression to dynamically obtain a set
  of permissible values via a query that matches on properties of the external concepts.
in_subset:
- SpecificationSubset
from_schema: https://w3id.org/linkml/meta
attributes:
  identifier_pattern:
    name: identifier_pattern
    description: A regular expression that is used to obtain a set of identifiers
      from a source_ontology to construct a set of permissible values
    in_subset:
    - SpecificationSubset
    from_schema: https://w3id.org/linkml/meta
    rank: 1000
    domain: match_query
    owner: match_query
    domain_of:
    - match_query
    range: string
  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: match_query
    domain_of:
    - match_query
    - reachability_query
    range: uriorcurie