Skip to content
Martynas Jusevičius edited this page Jan 2, 2017 · 13 revisions

This document summarizes the AtomGraph Processor vocabularies in a human-readable form. For RDF versions, see the resources folder.

The ldt: namespace URI is https://www.w3.org/ns/ldt#.

Applications

Classes

ldt:Application
AtomGraph Processor application
ldt:Ontology
A class of sitemap ontologies

Properties

ldt:ontology
Application ontology
OWL ontology with resource classes (templates)
ldt:baseUri

Templates

Classes

ldt:Template
A class of RDF resources that share the same URI template and SPARQL query template

Properties

These properties can be used on Linked Data Templates:

ldt:query
SPIN query to retrieve resource description (DESCRIBE or CONSTRUCT)
ldt:update
SPIN update to remove resource description
ldt:path
URI template for resource matching
See also JAX-RS URI template syntax.
ldt:skolemTemplate
Container-relative URI template for blank node skolemization
See also JAX-RS URI template syntax.
ldt:param
Query string parameters as ldt:Arguments
ldt:lang
rdf:List of BCP47 language tags
ldt:cacheControl
Value of the HTTP Cache-Control response header
ldt:loadClass
Indicates the Java class that will handle requests matched by this template. Needs to start with java: URI scheme.

Additionally, these properties from the SPIN vocabulary are supported.

spin:constructor
SPIN constructor query (CONSTRUCT)
spin:constraint
SPIN constraint query

HATEOAS

These properties are added by AtomGraph to resource descriptions to enable HATEOAS state transitions over HTTP:

dh:forClass
Links to constructor resource for the specified class
dh:pageOf
Links page resource to its container resource
dh:limit
LIMIT modifier value for the first SELECT sub-query
dh:offset
OFFSET modifier value for the first SELECT sub-query
dh:orderBy
Variable name of the default ORDER BY for the first SELECT sub-query
dh:desc
If true, sets DESC on ORDER BY for the first SELECT sub-query
dh:slug
A string that will be used to build URI from template such as /{slug}

Classes

Built-in Linked Data Templates

dh:Container
Resource container
Subclass of core:Document and sioc:Container
URI template matches request URIs with a trailing slash: {path: .*}/
dh:Item
Document resource
Subclass of core:Document and sioc:Item
URI template matches all request URIs: {path: .*}
Clone this wiki locally