File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,8 @@ The configuration file follows a simple structure.
122
122
},
123
123
"variables" : {
124
124
"variableExampleString" : [" \" String1\" " , " \" String2\" " ],
125
- "variableExampleUri" : [" <https://example.com/uri1>" , " <https://example.com/uri2>" ]
125
+ "variableExampleUri" : [" <https://example.com/uri1>" , " <https://example.com/uri2>" ],
126
+ "variableExampleInteger" : [" 1" , " 2" ]
126
127
},
127
128
"indirectVariables" : {
128
129
"queryLocations" : [
@@ -181,11 +182,12 @@ If all possible values for the template variables are fixed and hence can be wri
181
182
- In the config file:
182
183
- Add a ` variables ` object in the query's entry in the configuration file.
183
184
- In the ` variables ` object, for each template variable, add a property with name equal to the template variable's identifier.
184
- - Set each such property's value to an array of possible values for the corresponding template variable.
185
+ - Set each such property's value to an array strings, where each string is a possible value for the corresponding template variable.
185
186
186
187
Note that template variables' values are not restricted to strings: URIs for example are also possible.
187
188
As a consequence, for strings the surround double quotes ` " ` must be added to the values in the list.
188
189
For URIs you must add surrounding angle brackets ` <> ` .
190
+ Other literals (integers for example) don't have to be surrounded with extra delimiters.
189
191
This is shown in the configuration structure above.
190
192
191
193
#### Templated queries with values for the template variables to be derived from the data
You can’t perform that action at this time.
0 commit comments