Items

Items are analogous to files in a filesystem

RDF serialization

Document roperties such as sioc:has_container, dct:created, dct:modified, acl:owner are automatically managed by LinkedDataHub.

@prefix dh: <https://www.w3.org/ns/ldt/document-hierarchy#> .
@prefix ldh: <https://w3id.org/atomgraph/linkeddatahub#> .
@prefix ac: <https://w3id.org/atomgraph/client#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix dct: <http://purl.org/dc/terms/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix sioc: <http://rdfs.org/sioc/ns#> .
@prefix acl: <http://www.w3.org/ns/auth/acl#> .

<https://localhost:4443/concepts/example/>
    a       dh:Item ;
    rdf:_1  <https://localhost:4443/concepts/example/#xhtml-block> ;
    rdf:_2  <https://localhost:4443/concepts/example/#object-block> ;
    dct:created "2025-06-02T19:49:48.126Z"^^xsd:dateTime ;
    dct:creator <https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this> ;
    dct:title "Example" ;
    sioc:has_container <https://localhost:4443/2005d1e1-de5c-4c0d-bcab-002c203ff1a9/> ;
    acl:owner <https://localhost:4443/admin/acl/agents/865c2431-8436-4ae8-b300-2a531a013cd0/#this> .
    
<https://localhost:4443/concepts/example/#xhtml-block>
    a       ldh:XHTML ;
    rdf:value "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n<p>A paragraph</p>\n</div>"^^rdf:XMLLiteral .

<https://localhost:4443/concepts/example/#object-block>
    a       ldh:Object ;
    rdf:value <http://dbpedia.org/resource/Copenhagen> ;
    ac:mode  ac:MapMode .

Management

User interface

Action Description
Create Create a new child document by clicking the Create button on the left of the navbar. Fill out the form. Click Save.
Update Open the current document editing form by clicking the Edit button in the middle section of the navbar. Make changes. Click Save.
Delete Delete the current document by clicking the Delete in the action bar (the right section of the navbar)

Command line interface

Action CLI script
Create create-item.sh
Update put.sh
Delete delete.sh