{% extends "base.html" %} {% block gcontent %} {% if form is defined %} {{ render_form(form) }} {% endif %}

{% if matches %} Retrieved {% else %} No {% endif %} grounding results for {{ text }}

{% if context %}

Using context: {{ context }}

{% endif %}

{% if matches %} The table below contains the retrieved Groundings ordered by decreasing score. The standard name for the entry is given in the Name column. Additional groundings are provided for some entries where a match was found to an equivalent term in a namespace different from the primary grounding's. {% else %} No matches were found for the given input. Please try a different entity text or modify the context or organism filters. {% endif %}

{% if matches %} {% for match in matches %} {% set match_curie = match.term.get_curie() %} {% endfor %}
Grounding Name Score Additional groundings
{{ match_curie }}   {{ match['term']['entry_name'] }} {{ match['score'] | round(4) }} {% for xref_curie, xref_url in match.get_grounding_dict().items() %} {% if xref_curie != match_curie %} {{ xref_curie }}   {% endif %} {% endfor %}
{% endif %}
{% endblock %}