{# NOTICE #} {# This software was produced for the U.S. Government under contract FA8702-22-C-0001, #} {# and is subject to the Rights in Data-General Clause 52.227-14, Alt. IV (DEC 2007) #} {# ©2021 The MITRE Corporation. All Rights Reserved. #} {% extends "html-multi/base.html" %} {% block navbar %} {% include "html-multi/navbar.html" %} {% endblock navbar %} {% block sidebar %} {% set thispage=main_entity.qname %} {% include "html-multi/sidebar.html" %} {% endblock sidebar %} {% block bodycontent %} {% if main_entity_type == "class" %} {% set each = main_entity %} {# each is a OntoClass object #} {# path to this class #} {% set thispage="classinfo" %} {% include "html-multi/breadcrumbs.html" %} {# name of this class, with "leaf node" if it has no children #}
{{each.uri}}
Instances of {{each.title}} can have the following properties:
PROPERTY | TYPE | DESCRIPTION | RANGE |
---|---|---|---|
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 %} |
By the associated SHACL property shapes, instances of {{each.title}} can have the following properties:
PROPERTY |
PROPERTY TYPE |
DESCRIPTION |
MIN COUNT |
MAX COUNT |
LOCAL RANGE |
GLOBAL RANGE |
||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{constraint.header}} | {# DATA ROW -- for non-headers, display the data in columns #} {% else %}{# PROPERTY #} {% set prop = constraint.property_obj.onto_property %} {{prop.qname}} | {# TYPE (owl:DatatypeProperty or owl:ObjectProperty #}
{{constraint.rdftype_qname|join(" ")|default("--")}} |
{# DESCRIPTION #}
{{constraint.rdfs_comment|join(" ")}} {{constraint.sh_description|join(" ")}} |
{# MIN COUNT #} {{constraint.sh_minCount|join(", ")|default("0")}} | {# MAX COUNT #} {{constraint.sh_maxCount|join(", ")|default("*")}} | {# LOCAL TYPE (type defined for property on this classe) #}
{% for value in constraint.sh_datatype %}
{% if value.onto_class %}
{{value.onto_class.qname}}
{% else %}
{{value.qname}}
{% endif %}
{% endfor %} {% for value in constraint.sh_class %} {% if value.onto_class %} {{value.onto_class.qname}} {% else %} {{value.qname}} {% endif %} {% endfor %} |
{# GLOBAL RANGE (type range for property globally) #}
{% set values = constraint.rdfs_range %}
{% if values %}
{% for value in values %}
{% if value.onto_class %}
{{value.onto_class.qname}}
{% else %}
{{value.qname}}
{% endif %}
{% endfor %} {% else %} owl:Thing {% endif %} |
{% endif %}
{{each.rdf_source()|linebreaks}}