-
Notifications
You must be signed in to change notification settings - Fork 7
LDT vocabulary
Martynas Jusevičius edited this page Nov 21, 2018
·
13 revisions
For a standard definition, see Linked Data Template vocabulary specification.
This document summarizes the Linked Data Templates vocabulary in a human-readable form. For RDF version, see the ldt.ttl.
The ldt:
namespace URI is https://www.w3.org/ns/ldt#
.
ldt:Application
- AtomGraph Processor application
ldt:Ontology
- A class of sitemap ontologies
ldt:ontology
- Application ontology
- OWL ontology with resource classes (templates)
ldt:base
- Application base URI
ldt:Template
- A class of RDF resources that share the same URI template and SPARQL query template
ldt:Parameter
- A class of RDF resources that represent template parameters, passed as URL query parameter
- It should be possible to generalize this for request body parameters as well, but this is currently undefined
ldt:Query
- A union of SPIN's
sp:Construct
andsp:Describe
classes - Could be generalized for ASK and SELECT queries as well
ldt:Update
- A subclass of SPIN's
sp:Update
class
These properties can be used on Linked Data Templates:
ldt:extends
- Inherit LDT properties from the super-template (object-oriented inheritance)
ldt:query
- SPIN query to retrieve resource description (
DESCRIBE
orCONSTRUCT
) ldt:update
- SPIN update to remove resource description
ldt:match
- URI template for resource matching
- See also JAX-RS URI template syntax.
ldt:path
- Container-relative URI template for blank node skolemization
- Variable names in the URI template map to property local names in the resource description and can be chained using
.
as as separator (e.g.{primaryTopic.label}
). Property values are bound to the variables during URI building. - See also JAX-RS URI template syntax.
ldt:fragment
- URI fragment template, e.g.
#this
. Uses the same property path syntax asldt:path
. ldt:param
- Query string parameters as
ldt:Parameter
s 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
These properties are added by AtomGraph to resource descriptions to enable HATEOAS state transitions over HTTP:
ldt:arg
- Connects hypermedia state to a parameter argument
ldt:paramName
- The parameter local name of an argument