{% 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 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 %}
{% set publications = resource.get_publications() %} {% if publications %}
Publications
{%- for publication in publications %}
{{ utils.render_publication(publication) }}
{%- endfor %} {% endif %} {% if resource.references %}
References
{%- for reference in resource.references %}
{{ utils.render_reference(reference) }}
{%- endfor %} {% endif %}
{% include "resource-standards.html" %} {% include "resource-bibliometrics.html" %} {% 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 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 %}