<https://docs.linkeddatahub.com/reference/administration/ontologies/#content>
        a       <https://w3id.org/atomgraph/linkeddatahub#XHTML>;
        <http://www.w3.org/1999/02/22-rdf-syntax-ns#value>
                "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n    <div>\n        <h2 id=\"ontologies\">Ontologies</h2>\n        <p>Ontologies are sets of domain concepts. The domain can span both documents (information resources) and abstract/physical things\n            (non-information resources).</p>\n        <p>Ontologies can <a href=\"https://www.w3.org/TR/owl2-primer/#Ontology_Management\" target=\"_blank\">import other ontologies</a>, both user-defined\n            and system ones provided by LinkedDataHub. The imports are retrieved during application initialization, and the application's namespace ontology\n            becomes a transitive union, i.e. is merged with its imports and imports of the imports etc.</p>\n        <div class=\"alert alert-warning\">\n            <h4>Best practice: avoid using <code>owl:imports</code> with uploaded files</h4>\n            <p>Do not use <code>owl:imports</code> declarations that point to paths under <samp>uploads/</samp>. This can cause circular dependency deadlocks\n            during system initialization, as the ontology loading process cannot access uploaded files without creating a circular reference.</p>\n            <p>Instead:</p>\n            <ul>\n                <li>Host ontologies as proper documents (not uploaded files)</li>\n                <li>Import them using their document URIs</li>\n                <li>If you need to use an ontology that was uploaded, create it as a proper ontology document first</li>\n            </ul>\n            <p>For more information, see the <a href=\"../../../user-guide/upload-file/\">file upload documentation</a>.</p>\n        </div>\n        <p>Main ontology properties:</p>\n        <dl>\n            <dt>Imports</dt>\n            <dd>Ontology to be imported</dd>\n            <dt>Version</dt>\n            <dd>Unique version of this ontology</dd>\n        </dl>\n        <div>\n            <h3>System ontologies</h3>\n            <table class=\"table\">\n                <thead>\n                    <tr>\n                        <th>Ontology</th>\n                        <th>Title</th>\n                        <th>Prefix</th>\n                    </tr>\n                </thead>\n                <tbody>\n                    <tr>\n                        <td><a href=\"https://w3id.org/atomgraph/linkeddatahub/default\" id=\"def-ont\"><code>https://w3id.org/atomgraph/linkeddatahub/default#</code></a></td>\n                        <td>Default</td>\n                        <td><code>def:</code></td>\n                    </tr>\n                    <tr>\n                        <td><a href=\"https://w3id.org/atomgraph/linkeddatahub/apps\" id=\"lapp-ont\" target=\"_blank\"><code>https://w3id.org/atomgraph/linkeddatahub/apps#</code></a></td>\n                        <td>Applications</td>\n                        <td><code>lapp:</code></td>\n                    </tr>\n                    <tr>\n                        <td><a href=\"https://w3id.org/atomgraph/linkeddatahub/acl\" id=\"lacl-ont\" target=\"_blank\"><code>https://w3id.org/atomgraph/linkeddatahub/acl#</code></a></td>\n                        <td>Access control</td>\n                        <td><code>lacl:</code></td>\n                    </tr>\n                    <tr>\n                        <td><a href=\"https://w3id.org/atomgraph/linkeddatahub/admin\" id=\"adm-ont\" target=\"_blank\"><code>https://w3id.org/atomgraph/linkeddatahub/admin#</code></a></td>\n                        <td>Admin</td>\n                        <td><code>adm:</code></td>\n                    </tr>\n                    <tr>\n                        <td><a href=\"https://w3id.org/atomgraph/linkeddatahub\" id=\"ldh-ont\"><code>https://w3id.org/atomgraph/linkeddatahub#</code></a></td>\n                        <td>LinkedDataHub</td>\n                        <td><code>ldh:</code></td>\n                    </tr>\n                    <tr>\n                        <td><a href=\"https://www.w3.org/ns/ldt/document-hierarchy\" id=\"dh-ont\" target=\"_blank\"><code>https://www.w3.org/ns/ldt/document-hierarchy#</code></a></td>\n                        <td>Document hierarchy</td>\n                        <td><code>dh:</code></td>\n                    </tr>\n                </tbody>\n            </table>\n        </div>\n    </div>\n    <div>\n        <h2 id=\"classes\">Classes</h2>\n        <p>Classes are simply RDFS classes. Usually the <a href=\"../../dataset/\" target=\"_blank\">application dataset</a> contains class instances.</p>\n        <p>Main class properties such as constructor and constraint are explained in the sub-sections below. Additional properties are:</p>\n        <dl>\n            <dt><a href=\"#constructors\">Constructor</a></dt>\n            <dd>Query that constructs new class instance</dd>\n            <dt><a href=\"#constraints\">Constraints</a></dt>\n            <dd>Command or command template that validates class instance</dd>\n        </dl>\n        <div>\n            <h3 id=\"constructors\">Constructors</h3>\n            <p>Constructors are SPARQL <code>CONSTRUCT</code> queries that serve as templates for class instances.\n                They specify the properties (both mandatory and optional) that the instance is supposed to have, as well as expected datatypes of their\n                values. Constructors are used in create/edit modes. A class can have multiple constructors.</p>\n            <p>For example, the constructor of the <code>ldh:XHTML</code> <a href=\"#classes\">class</a>:</p>\n            <pre><code>PREFIX rdf:     &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt;\n\nCONSTRUCT {\n  $this rdf:value \"&lt;div xmlns=\\\"http://www.w3.org/1999/xhtml\\\"&gt;&lt;/div&gt;\"^^rdf:XMLLiteral .\n}\nWHERE {}</code></pre>\n            <p>An instance of these classes by default have a content property with XML literal.</p>\n            <p>LinkedDataHub reuses <a href=\"http://spinrdf.org/spin.html#spin-constructors\" target=\"_blank\">SPIN constructors</a> for the implementation, but adds a\n                special syntax convention using blank nodes to indicate the expected resource type (<code>[ a ex:Person ]</code>) or literal datatype\n                (<code>[ a xsd:string ]</code>). The magic variable <code>$this</code> refers to the instance being constructed, it is a blank node resource initially but\n                gets skolemized to a URI when submitted to the server.</p>\n            <p>Note that classes inherit constructors from superclasses in runtime. Subclasses do not have to redefine constructor properties already found\n                in superclass constructors, only additional properties.</p>\n        </div>\n        <div>\n            <h3 id=\"constraints\">Constraints</h3>\n            <p>Constraints are SPARQL queries or <a href=\"https://spinrdf.org/spin.html#spin-templates\" target=\"_blank\">SPIN command templates</a> that validate submitted\n                RDF data during document creation and editing. Constraints are enforced for instances of model classes on which they are defined and are\n                used to check class instances for violations (missing mandatory properties, malformed values etc.). For example, an instance of\n                <code>dh:Item</code> without <code>dct:title</code> will fail validation because titles are mandatory for LinkedDataHub documents.</p>\n            <p>LinkedDataHub reuses <a href=\"http://spinrdf.org/spin.html#spin-constraints\" target=\"_blank\">SPIN constraints</a>. Classes inherit constraints from superclasses.</p>\n            <p><a href=\"https://www.w3.org/TR/shacl/\" target=\"_blank\">SHACL</a> constraint validation is supported as well.</p>\n        </div>\n    </div>\n    <div>\n        <h2 id=\"properties\">Properties</h2>\n        <p>LinkedDataHub allows definition of new properties.</p>\n    </div>\n</div>"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#XMLLiteral> .

<https://docs.linkeddatahub.com/reference/administration/ontologies/>
        a       <https://www.w3.org/ns/ldt/document-hierarchy#Item>;
        <http://www.w3.org/1999/02/22-rdf-syntax-ns#_1>
                <https://docs.linkeddatahub.com/reference/administration/ontologies/#content>;
        <http://purl.org/dc/terms/created>
                "2026-06-16T20:34:03.602Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>;
        <http://purl.org/dc/terms/creator>
                <https://admin.linkeddatahub.com/acl/agents/0ab4a0f7-1ab0-4d0c-8efc-63a79a2e9a10/#this>;
        <http://purl.org/dc/terms/description>
                "Ontology classes, constraints, properties etc.";
        <http://purl.org/dc/terms/title>
                "Ontologies";
        <http://rdfs.org/sioc/ns#has_container>
                <https://docs.linkeddatahub.com/reference/administration/>;
        <http://www.w3.org/ns/auth/acl#owner>
                <https://admin.linkeddatahub.com/acl/agents/0ab4a0f7-1ab0-4d0c-8efc-63a79a2e9a10/#this> .
