{% extends "base.html" %} {% block navbar %} {% include "navbar.html" %} {% endblock navbar %} {% block sidebar %} {% with thispage=main_entity.qname %} {% include "sidebar.html" %} {% endwith %} {% endblock sidebar %} {% block bodycontent %} {% ifequal main_entity_type "class" %} {% with main_entity as each %} {% with thispage="classinfo" %} {% include "breadcrumbs.html" %} {% endwith %}

{# Class: #} {{each.title}} {% if not each.children %} leaf node {% endif %}


URI

{{each.uri}}
{% if each.bestLabel %}

Label

{{each.bestLabel}}
{% endif %} {% if each.bestDescription %}

Description

{{each.bestDescription|linebreaks|default:"--"}}
{% endif %} {% if each.ancestors %}

Superclasses ({{each.ancestors|length}})

{% if each.ancestors %} {% for s in each.ancestors %}
  • {{s.title}}
  • {% endfor %} {% else %}
  • owl:Thing
  • {% endif %}
    {% endif %} {% if each.all_shapes%}

    Shapes ({{each.all_shapes|length}})

    {% for s in each.all_shapes%}
  • {{s.title}}
  • {% endfor %}
    {% endif %} {% if each.domain_of_inferred %}

    Usage

    Instances of {{each.title}} can have the following properties:

    {% for group in each.domain_of_inferred %} {% for k,v in group.items %} {% if v %} {% for prop in v %} {% endfor %} {% endif %} {% endfor %} {% endfor %}
    PROPERTYTYPEDESCRIPTIONRANGE
    From class {{k.title}}
    {{prop.title}} {{prop.rdftype_qname}} {{prop.bestDescription|default:"--"}} {% if prop.ranges %} {% for range in prop.ranges %} {% if not range.ext_model %} {{range.title}} {% else %} {{range.title}} {% endif %} {% endfor %} {% else %} owl:Thing {% endif %}
    {% endif %}

    Implementation

    {% if pygments_code %} {{pygments_code|safe}} {% else %}
    {{each.rdf_source|linebreaks}}
    {% endif %}
    {% endwith %} {% endifequal %} {% endblock bodycontent %}