{# 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 "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 %} {# each is a OntoClass object #} {# path to this class #} {% with thispage="classinfo" %} {% include "breadcrumbs.html" %} {% endwith %} {# 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 #} {% with constraint.property_obj.onto_property as prop %} {{prop.qname}} {% endwith %} | {# 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) #}
{% with constraint.rdfs_range as values %}
{% if values %}
{% for value in values %}
{% if value.onto_class %}
{{value.onto_class.qname}}
{% else %}
{{value.qname}}
{% endif %}
{% endfor %} {% else %} owl:Thing {% endif %} {% endwith %} |
{% endif %}
{{each.rdf_source|linebreaks}}