Documents
Document structure and the basic data management actions.
Document hierarchy
The basic structure of resources in a LinkedDataHub application is analogous to the file system, but built using RDF
resources and relationships between them instead. There is a hierarchy of containers (folders),
which are collections of items (files) as well as sub-containers (sub-folders). Both containers
(instances of dh:Container
) and items (instances of dh:Item
) are documents (instances of foaf:Document
). Items cannot contain other documents.
The first level of resources in a container is referred to as its children (of which that container is the parent, while all levels down the hierarchy are collectively referred to as descendants.
When a user logs in, the application loads its root container (unless a specific URI was requested). From there, users can navigate down the resource hierarchy, starting with children of the root container. At any moment there is only one current document per page, on which management actions can be performed: it can be viewed, edited etc.