An SKL Schema
A type of SKL Mapping that specifies what should be done when a Verb is executed with a specific noun
as an argument. The Mapping can either have a verbMapping
to specify a target Verb to execute, or a returnValueMapping
to directly translate the parameters of the original Verb into the desired return value. When a verbMapping
is provided, a parameterMapping
and parameterMappingFrame
may be provided to translate the parameters of the original Verb into the expected format of the target Verb.
name | Type | Required | Description | Cardinality |
---|---|---|---|---|
verb | Verb | true | The Verb that the Mapping translates from. | 1..1 |
noun | Noun | true | The Noun that the Mapping uses to determine what action should be taken. | 1..1 |
parameterMapping | TriplesMap | false | An RML TriplesMap specifying how the standard parameters of the original Verb should be translated into the parameters of the target Verb. This field only gets used if verbMapping is also present. |
0..* |
parameterMappingFrame | JSON | false | A JSON-LD Frame used to transform the JSON-LD returned by the parameterMapping into the format required by target Verb's parameters. This field only gets used if verbMapping and parameterMapping are also present. |
0..* |
verbMapping | TriplesMap | false | An RML TriplesMap specifying what target Verb should be executed depending on the parameters supplied to the original Verb. | 0..* |
returnValueMapping | TriplesMap | false | An RML TriplesMap specifying how the parameters of the Verb should be directly translated into a return value. If returnValueMapping is set, there should be no verbMapping , parameterMapping , or parameterMappingFrame . |
0..* |
returnValueFrame | JSON | false | A JSON-LD Frame used to transform the JSON-LD returned by the returnValueMapping into a prefered format. This field overrides the returnValueFrame of the Verb. If not supplied, the Verb's returnValueFrame will be used instead. |
0..1 |
Properties from Mapping
name | Type | Required | Description | Cardinality |
---|