Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

create a GeoLocationNameValue class with substructure #2305

Open
turbomam opened this issue Dec 19, 2024 · 2 comments · May be fixed by #2308
Open

create a GeoLocationNameValue class with substructure #2305

turbomam opened this issue Dec 19, 2024 · 2 comments · May be fixed by #2308
Assignees

Comments

@turbomam
Copy link
Member

as a future replacement range for

name: geo_loc_name
description: The geographical origin of the sample as defined by the country or sea
  name followed by specific region name. Country or sea names should be chosen from
  the INSDC country list (http://insdc.org/country.html), or the GAZ ontology (http://purl.bioontology.org/ontology/GAZ)
title: geographic location (country and/or sea,region)
examples:
- value: 'USA: Maryland, Bethesda'
keywords:
- geographic
- location
slot_uri: MIXS:0000010
range: string
required: true
pattern: '^([^\s-]{1,2}|[^\s-]+.+[^\s-]+): ([^\s-]{1,2}|[^\s-]+.+[^\s-]+), ([^\s-]{1,2}|[^\s-]+.+[^\s-]+)$'
structured_pattern:
  syntax: '^{text}: {text}, {text}$'
  interpolated: true
  partial_match: true
@turbomam turbomam self-assigned this Dec 19, 2024
@turbomam
Copy link
Member Author

is_a: AttributeValue
slots:
- nation_or_sea
- admin_level_1
- locale

@turbomam
Copy link
Member Author

@turbomam turbomam linked a pull request Dec 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant