Base¶
Base resources represent the trace bases hosted by the system.
Creation¶
A base is created by a POST query to the KtbsRoot. It must have the following properties:
- http://liris.cnrs.fr/silex/2009/ktbs#hasBase linking from the KtbsRoot
GET¶
Retrieve a description of the base. This description contains information about the base (label, owner, etc.) and the list of items (Trace, Model, Method) it contains, with their types.
It is also possible to enrich the graph returned by GET with information about the items of the base,
using the property prop containing a comma-separated list of the following properties:
commentto display therdfs:comments of items,hasModelto display the model of traces,hasSourceto display the sources of traces,labelto display therdfs:labels ofskos:prefLabelof items,obselCountto display the number of obsels of traces.
PUT¶
This allows to change some information about the base. Items of a base can not be modified that way, and may therefore be ommitted from the payload.
Description constraints¶
The description of a base must be star shaped.