{% extends "base.html" %} {% import "macros.html" as utils %} {% block title %}{{ config.METAREGISTRY_TITLE }} - {{ name_pack.value }}{% endblock %} {% block styles %} {{ super() }} {% endblock %} {% block scripts %} {{ super() }} {% endblock %} {% set mastodon = resource.get_mastodon() %} {% set mastodon_url = resource.get_mastodon_url() %} {% set keywords = resource.get_keywords() %} {% macro get_banana_text() %} This means that you may see local unique identifiers that include a redundant prefix and delimiter (also known as a banana) and therefore look like a CURIE. For {{ name }}, the banana looks like {{ banana if banana else prefix.upper() }}{{ resource.get_banana_peel() }}. Therefore, you may see local unique identifiers for this resource that look like {{ banana if banana else prefix.upper() }}{{ resource.get_banana_peel() }}{{ example }} (instead of the canonical form {{ example }}) and CURIEs for this resource that look like {{ resource.get_preferred_prefix() or resource.prefix }}:{{ banana if banana else prefix.upper() }}{{ resource.get_banana_peel() }}{{ example }} (instead of the canonical form {{ resource.get_preferred_prefix() or resource.prefix }}:{{ example }}). The {{ config.METAREGISTRY_TITLE }} will automatically strip off the banana when standardizing local unique identifiers and CURIEs. {% endmacro %} {% macro get_tooltip(manager, prefix) %} {{ manager.get_preferred_prefix(prefix) or prefix }} {% endmacro %} {% macro get_tooltips(manager, prefixes) %} {% for rel_prefix in prefixes %} {{ get_tooltip(manager, rel_prefix) }} {% endfor %} {% endmacro %} {% block container %}
Registry {{ name_pack.value }} {{ utils.render_resource_warnings(resource) }}
Suggest
{% if description %}

{% if resource.get_logo() %} Logo for {{ name_pack.value }} {% endif %} {{ description }}

{% endif %} {% if provides %}

This resource is a provider. This means that while it may have its own prefix, it actually reuses the identifiers provided by the {{ provides }} prefix. For all use cases, you should use {{ provides }} instead of {{ prefix }}.

{% endif %} {% if resource.proprietary %}

This resource is proprietary. This means that it is not freely and publicly available without restriction. Such resources are still valuable to include in the {{ config.METAREGISTRY_TITLE }} as they may appear in other non-proprietary resources.

{% endif %}
{% if resource.comment %}
Comment
{{ markdown(resource.comment) | safe }}
{% endif %}
Prefix
{{ prefix }}
{% set preferred_prefix = resource.get_preferred_prefix() %} {% if preferred_prefix %}
Preferred Prefix
{{ preferred_prefix }}
{% endif %} {% if synonyms %}
Alternative Prefixes
{% for synonym in synonyms %} {{ synonym }} {% endfor %}
{% endif %} {% if keywords %}
Keywords
{% for keyword in keywords|sort %} {{ keyword }} {% endfor %}
{% endif %} {% if version %}
Version
{{ version }}
{% endif %} {% set resource_license = resource.get_license() %} {% if resource_license %}
License
{{ resource_license }}
{% endif %}
Links {% if homepage or obo_download or owl_download or json_download or rdf_download or skos_download or jskos_download %} {% endif %}
{% if homepage %} Homepage {% else %} Missing Homepage {% endif %} {% if repository %} Repository {% endif %} {%- if resource.contact_group_email %} Mailing List {%- endif %} {%- if resource.contact_page %} Contact Page {%- endif %} {% if obo_download %} OBO {% endif %} {% if owl_download %} OWL {% endif %} {% if json_download %} OBO JSON {% endif %} {% if rdf_download %} RDF {% endif %} {% if skos_download %} SKOS {% endif %} {% if jskos_download %} JSKOS {% endif %} {% if resource.github_request_issue %} Request Discussion {% endif %} {% if mastodon %} @{{ mastodon }} {% endif %}
Contact {% if contact %} {% endif %}
{% if contact %} {{ utils.render_author(contact, link=none) }} {% else %} Missing Contact {% endif %}
{%- for secondary_contact in resource.contact_extras or [] %}
{{ utils.render_author(secondary_contact, link=none) }}
{%- endfor %} {% if resource.owners %}
Identifier Space Owner{% if resource.owners | length > 1 %}s{% endif %}
{% for owner in resource.owners %}
{{ owner.name }} {% if owner.partnered %} Partnered {% endif %}
{% endfor %} {% endif %}
Pattern for Local Unique Identifiers
{% if pattern %}

Local identifiers in {{ name_pack.value }} should match this regular expression:
{{ pattern }}

{% elif has_no_terms %} No terms in {{ prefix }} {% else %} Missing LUI pattern {% endif %}
Example Local Unique Identifier{% if resource.example_extras %}s{% endif %}
{% if example %} {{ example }} {% if providers %}   Resolve {% endif %} {% for extra_example in example_extras %}
{{ extra_example }} {% if providers %}   Resolve {% endif %} {% endfor %} {% elif has_no_terms %} No Terms in {{ prefix }} {% else %} Missing Example Local Unique Identifier {% endif %}
{% if pattern and curie_pattern %}
Pattern for CURIES

Compact URIs (CURIEs) constructed from {{ name_pack.value }} should match this regular expression:
{{ curie_pattern }}

{% endif %} {% if example and example_curie %}
Example CURIE{% if resource.example_extras %}s{% endif %}
{{ example_curie }} {% for example_curie_extra, example_extra in zip(example_curie_extras, example_extras) %}
{{ example_curie_extra }} {% endfor %}
{% endif %} {% if namespace_in_lui %}
MIRIAM Namespace Embedded in LUI
The legacy MIRIAM standard for generating CURIEs with this resource annotates the namespaceEmbeddedInLUI as true. {{ get_banana_text() }}
{% elif banana %}
Namespace Embedded in LUI
This resource has been annotated by the {{ config.METAREGISTRY_TITLE }} as having a potential namespace embedded in LUI. {{ get_banana_text() }}
{% endif %} {% set publications = resource.get_publications() %} {% if publications %}
Publications
{% if publications | length == 1 %} {{ utils.render_publication(publications[0]) }} {% else %}
    {% for publication in publications %}
  • {{ utils.render_publication(publication) }}
  • {% endfor %}
{% endif %}
{% endif %} {% if resource.references %}
References
{% if resource.references | length == 1 %} {{ utils.render_reference(resource.references[0]) }} {% else %}
    {% for reference in resource.references %}
  • {{ utils.render_reference(reference) }}
  • {% endfor %}
{% endif %}
{% endif %} {% if resource.contributor or resource.contributor_extras %}
Contributors
    {% if resource.contributor %}
  • submitter {{ utils.render_author(resource.contributor, link=url_for('metaregistry_ui.contributor', orcid=resource.contributor.orcid)) }}
  • {% endif %} {% for contributor in resource.contributor_extras or [] %}
  • contributor {{ utils.render_author(contributor, link=url_for('metaregistry_ui.contributor', orcid=contributor.orcid)) }}
  • {% endfor %}
{% endif %} {% if resource.reviewer %}
Reviewer
{{ utils.render_author(resource.reviewer, link=url_for('metaregistry_ui.contributor', orcid=resource.reviewer.orcid)) }}
{%- for reviewer in resource.reviewer_extras or [] %}
{{ utils.render_author(reviewer, link=url_for('metaregistry_ui.contributor', orcid=reviewer.orcid)) }}
{%- endfor %} {% endif %}
{% if provides or provided_by or part_of or has_parts or has_canonical or canonical_for or depends_on or appears_in or in_collections %}
Ontology

A summary of the relations in the {{ config.METAREGISTRY_TITLE }} schema can be found here.

{% if provides %}
Provides
{{ get_tooltip(manager, provides) }}
{% endif %} {% if provided_by %}
Provided By
{{ get_tooltips(manager, provided_by) }}
{% endif %} {% if part_of %}
Part Of ({{ utils.code_curie("bfo", "0000050") }})
{% if manager.get_name(part_of) %} {{ get_tooltip(manager, part_of) }} {% else %} {{ part_of }} (not directly registered) {% endif %}
{% endif %} {% if has_parts %}
Has Parts ({{ utils.link_code_curie("bfo", "0000051") }})
{{ get_tooltips(manager, has_parts) }}
{% endif %} {% if has_canonical %}
Has URI collision with ({{ utils.link_code_curie(config.METAREGISTRY_SCHEMA_PREFIX, "0000016") }})

This resource shares one or more URI format strings with {{ get_tooltip(manager, has_canonical) }}.

Therefore, when generating an extended prefix map, {{ resource.prefix }}, its CURIE prefix synonyms, and its URI prefix synonyms are merged into the record for {{ get_tooltip(manager, has_canonical) }}. If you believe that these are two distinct semantic spaces and should not be merged, please open a new issue on the {{ config.METAREGISTRY_TITLE }} issue tracker for discussion.

{% endif %} {% if canonical_for %}
Has incoming URI collisions

The following resources share a URI format string with {{ resource.prefix }}:
{{ get_tooltips(manager, canonical_for) }}

When generating an extended prefix map, their respective CURIE prefixes and URI prefixes are merged into the record for {{ resource.prefix }}. If you believe that these are distinct semantic spaces and should not be merged, please open a new issue on the {{ config.METAREGISTRY_TITLE }} issue tracker for discussion.

{% endif %} {% if depends_on %}
Depends On ({{ depends_on | length }}) ({{ utils.link_code_curie(config.METAREGISTRY_SCHEMA_PREFIX, "0000017") }})
{{ get_tooltips(manager, depends_on) }}
{% endif %} {% if appears_in %}
Appears In ({{ appears_in | length }}) ({{ utils.link_code_curie(config.METAREGISTRY_SCHEMA_PREFIX, "0000018") }})
{{ get_tooltips(manager, appears_in) }}
{% endif %} {% if in_collections %}
In Collection
{% for collection_id in in_collections %} {{ manager.get_collection_name(collection_id) }} {% endfor %}
{% endif %}
{% endif %} {% if mappings %}
Metaregistry {{ name_pack.value }}

The metaregistry provides mappings between the {{ config.METAREGISTRY_TITLE }} and other registries. There are {{ mappings | length }} mappings to external registries for this resource with {{ mappings | map(attribute='xref') | unique | list | length }} unique external prefixes.

{# #} {% for mapping in mappings %} {# #} {% endfor %}
Registry Name Registry Metaprefix External PrefixExternal NameCurate
{% if mapping.homepage %} {{ mapping.short_name }} {% else %} {{ mapping.short_name }} {% endif %} {% if mapping.metaresource.logo_url %} {{ mapping.name }} logo {% endif %} {{ mapping.metaprefix }} {% if mapping.uri %} {{ mapping.xref }} {% else %} {{ mapping.xref }} {% endif %} {{ resource.get_prefix_key("name", mapping.metaprefix) or "" }}
{% endif %} {% if resource.get_rdf_uri_format() %}
RDF Information

When using this resource in RDF, the following URI format should be used:

{{ resource.get_rdf_uri_format() }}

{% endif %} {% if not resource.no_own_terms %}
Providers

A provider turns a local unique identifiers from a resource into a URI. Many providers are also resolvable as URLs (i.e., they can be used in a web browser).

{% if providers %}

The local unique identifier {{ example }} is used to demonstrate the providers available for {{ name_pack.value }}. Some providers may use a different example, which is displayed in the table below. A guide for curating additional providers can be found here.

{% else %}

This resource does not have any providers. Please consider contributing one after reading the curation guide.

{% endif %}
{% if providers %}{{ utils.render_provider_table(prefix=prefix, identifier=example, providers=providers) }}{% endif %}
{% set extra_providers = resource.get_extra_providers(filter_known_inactive=True) %} {% if extra_providers %}
Extra Providers

Additional providers curated in the {{ config.METAREGISTRY_TITLE }} are listed here. These are typically inherited from Identifiers.org or Prefix Commons, and need extra curation.

{% for provider in extra_providers %} {% set example_id = provider.example if provider.example else example %} {% set url = provider.resolve(example_id) %} {% endfor %}
Code Name URL
{{ provider.code }} {{ provider.name }}{{ url }}
{% endif %} {% endif %} {% if synonyms %} {% endif %} {% if version %} {% endif %} {% if resource_license %} {% endif %} {% if contact %} {{ utils.render_author_modal(prefix, contact, "contact") }} {% endif %} {% endblock %}