{# hidden divs for d3tree viz - shown within slider #}
{{ontology.rdf_source|escape}}{% endif %} {% if topclasses %}
{% for s in topclasses %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %}URI: {{each.uri}}
Label: {{each.bestLabel|capfirst}}
{% endif %} {% if each.bestDescription %}Description: {{each.bestDescription|linebreaks}}
{% endif %} {% if each.parents or each.children or each.domain_of or each.range_of %}Has Super Class (direct): {% for s in each.parents %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.ancestors and each.ancestors|length > each.parents|length %}Has Super Class (all): {% for s in each.ancestors %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.children %}Has Sub Class (direct): {% for s in each.children %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.descendants and each.descendants|length > each.children|length %}Has Sub Class (all): {% for s in each.descendants %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.domain_of %}In Domain Of: {% for s in each.domain_of %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.range_of %}In Range Of: {% for s in each.range_of %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %}{{each.rdf_source|escape}}
URI: {{each.uri}}
Label: {{each.bestLabel|capfirst}}
{% endif %} {% if each.bestDescription %}Description: {{each.bestDescription|linebreaks}}
{% endif %} {% if each.parents or each.children or each.domains or each.ranges %}Has Super Property (direct): {% for s in each.parents %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.ancestors and each.ancestors|length > each.parents|length %}Has Super Property (all): {% for s in each.ancestors %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.children %}Has Sub Property (direct): {% for s in each.children %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.descendants and each.descendants|length > each.children|length %}Has Sub Property (all): {% for s in each.descendants %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.domains %}Domain: {% for s in each.domains %}{{s.title|default:s}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.ranges %}Range: {% for s in each.ranges %}{{s.title|default:s}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %}{{each.rdf_source|escape}}
URI: {{each.uri}}
Label: {{each.bestLabel|capfirst}}
{% endif %} {% if each.bestDescription %}Description: {{each.bestDescription|linebreaks}}
{% endif %} {% if each.parents or each.children %}Has Super Concept (direct): {% for s in each.parents %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.ancestors and each.ancestors|length > each.parents|length %}Has Super Concept (all): {% for s in each.ancestors %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.children %}Has Sub Concept (direct): {% for s in each.children %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %} {% if each.descendants and each.descendants|length > each.children|length %}Has Sub Concept (all): {% for s in each.descendants %}{{s.title}} {% if not forloop.last %}|{% endif %} {% endfor %}
{% endif %}{{each.rdf_source|escape}}