-
Notifications
You must be signed in to change notification settings - Fork 184
Expand file tree
/
Copy pathcreate-memory-shacl.xsl
More file actions
261 lines (261 loc) · 7.59 KB
/
create-memory-shacl.xsl
File metadata and controls
261 lines (261 loc) · 7.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
xmlns:sparql="http://www.w3.org/2005/sparql-results#" xmlns="http://www.w3.org/1999/xhtml">
<xsl:include href="../locale/messages.xsl" />
<xsl:variable name="title">
<xsl:value-of select="$repository-create.title" />
</xsl:variable>
<xsl:include href="template.xsl" />
<xsl:template match="sparql:sparql">
<form action="create" method="post">
<table class="dataentry">
<tbody>
<tr>
<th>
<xsl:value-of select="$repository-type.label" />
</th>
<td>
<select id="type" name="type">
<option value="memory-shacl">
In Memory Store with SHACL
</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th>
<xsl:value-of select="$repository-id.label" />
</th>
<td>
<input type="text" id="id" name="Repository ID" size="16"
value="memory-shacl" />
</td>
<td></td>
</tr>
<tr>
<th>
<xsl:value-of select="$repository-title.label" />
</th>
<td>
<input type="text" id="title" name="Repository title" size="48"
value="Memory store with SHACL" />
</td>
<td></td>
</tr>
<tr>
<th>
<xsl:value-of select="$repository-persist.label" />
</th>
<td>
<input type="radio" name="Persist" size="48"
value="true" checked="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Persist" size="48"
value="false" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>
<xsl:value-of select="$repository-sync-delay.label" />
</th>
<td>
<input type="text" id="delay" name="Sync delay" size="4"
value="0" />
</td>
<td></td>
</tr>
<tr>
<th>
<xsl:value-of select="$repository-evaluation-mode.label" />
</th>
<td>
<select id="queryEvalMode" name="Query Evaluation Mode">
<option selected="selected"
value="STRICT">
strict
</option>
<option
value="STANDARD">
standard
</option>
</select>
</td>
<td></td>
</tr>
<tr>
<th>Parallel validation</th>
<td>
<input type="radio" name="Parallel validation" value="true"
checked="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Parallel validation" value="false" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Log validation plans</th>
<td>
<input type="radio" name="Log validation plans" value="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Log validation plans" value="false"
checked="true" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Log validation violations</th>
<td>
<input type="radio" name="Log validation violations" value="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Log validation violations" value="false"
checked="true" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Validation enabled</th>
<td>
<input type="radio" name="Validation enabled" value="true"
checked="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Validation enabled" value="false" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Cache select nodes</th>
<td>
<input type="radio" name="Cache select nodes" value="true"
checked="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Cache select nodes" value="false" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Global log validation execution</th>
<td>
<input type="radio" name="Global log validation execution"
value="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Global log validation execution"
value="false" checked="true" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>RDFS subclass reasoning</th>
<td>
<input type="radio" name="RDFS subclass reasoning" value="true"
checked="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="RDFS subclass reasoning" value="false" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Performance logging</th>
<td>
<input type="radio" name="Performance logging" value="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Performance logging" value="false"
checked="true" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Serializable validation</th>
<td>
<input type="radio" name="Serializable validation" value="true"
checked="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Serializable validation" value="false" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Eclipse RDF4J SHACL extensions</th>
<td>
<input type="radio" name="Eclipse RDF4J SHACL extensions"
value="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="Eclipse RDF4J SHACL extensions"
value="false" checked="true" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>DASH data shapes</th>
<td>
<input type="radio" name="DASH data shapes" value="true" />
<xsl:value-of select="$true.label" />
<input type="radio" name="DASH data shapes" value="false"
checked="true" />
<xsl:value-of select="$false.label" />
</td>
<td></td>
</tr>
<tr>
<th>Validation results limit total</th>
<td>
<input type="text" id="validationResultsLimitTotal"
name="Validation results limit total" size="10"
value="1000000" />
</td>
<td></td>
</tr>
<tr>
<th>Validation results limit per constraint</th>
<td>
<input type="text" id="validationResultsLimitPerConstraint"
name="Validation results limit per constraint" size="10"
value="1000" />
</td>
<td></td>
</tr>
<tr>
<th>Transactional validation limit</th>
<td>
<input type="text" id="transactionalValidationLimit"
name="Transactional validation limit" size="10" value="500000" />
</td>
<td></td>
</tr>
<tr>
<th>Shapes graphs</th>
<td>
<input type="text" id="shapesGraphs" name="Shapes graphs" size="64"
value="<http://rdf4j.org/schema/rdf4j#SHACLShapeGraph>" />
</td>
<td></td>
</tr>
<tr>
<td></td>
<td>
<input type="button" value="{$cancel.label}" style="float:right"
data-href="repositories"
onclick="document.location.href=this.getAttribute('data-href')" />
<input id="create" type="button" value="{$create.label}"
onclick="checkOverwrite()" />
</td>
</tr>
</tbody>
</table>
</form>
<script src="../../scripts/create.js" type="text/javascript"></script>
</xsl:template>
</xsl:stylesheet>