@shaclmate/shacl-ast 4.0.49 → 4.0.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/AbstractShapesGraph.d.ts +1 -1
- package/dist/ShapesGraph.d.ts +1 -1
- package/dist/ShapesGraph.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/{generated.d.ts → shacl-ast.shaclmate.d.ts} +17 -1
- package/dist/{generated.js → shacl-ast.shaclmate.js} +255 -463
- package/dist/shacl-ast.shaclmate.ttl +521 -0
- package/package.json +19 -4
|
@@ -0,0 +1,521 @@
|
|
|
1
|
+
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
|
|
2
|
+
@prefix owl: <http://www.w3.org/2002/07/owl#> .
|
|
3
|
+
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
|
|
4
|
+
@prefix sh: <http://www.w3.org/ns/shacl#> .
|
|
5
|
+
@prefix shaclmate: <http://purl.org/shaclmate/ontology#> .
|
|
6
|
+
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
|
|
7
|
+
|
|
8
|
+
<http://purl.org/shaclmate/ontology#>
|
|
9
|
+
a owl:Ontology ;
|
|
10
|
+
rdfs:comment "The shapes in this ontology are modeled after shacl-shacl but are intended for code generation with shaclmate rather than validation." ;
|
|
11
|
+
rdfs:label "SHACL for shacl-ast" ;
|
|
12
|
+
rdfs:seeAlso <https://www.w3.org/TR/shacl/#shacl-shacl> .
|
|
13
|
+
|
|
14
|
+
shaclmate:IdentifierList
|
|
15
|
+
a sh:NodeShape ;
|
|
16
|
+
sh:xone ([
|
|
17
|
+
sh:hasValue ( )
|
|
18
|
+
]
|
|
19
|
+
[
|
|
20
|
+
sh:property [
|
|
21
|
+
sh:maxCount 1 ;
|
|
22
|
+
sh:minCount 1 ;
|
|
23
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
24
|
+
sh:path rdf:first
|
|
25
|
+
], [
|
|
26
|
+
sh:maxCount 1 ;
|
|
27
|
+
sh:minCount 1 ;
|
|
28
|
+
sh:node shaclmate:IdentifierList ;
|
|
29
|
+
sh:path rdf:rest
|
|
30
|
+
]
|
|
31
|
+
]
|
|
32
|
+
) .
|
|
33
|
+
|
|
34
|
+
shaclmate:InList
|
|
35
|
+
a sh:NodeShape ;
|
|
36
|
+
sh:xone ([
|
|
37
|
+
sh:hasValue ( )
|
|
38
|
+
]
|
|
39
|
+
[
|
|
40
|
+
sh:property [
|
|
41
|
+
sh:maxCount 1 ;
|
|
42
|
+
sh:minCount 1 ;
|
|
43
|
+
sh:nodeKind sh:IRIOrLiteral ;
|
|
44
|
+
sh:path rdf:first
|
|
45
|
+
], [
|
|
46
|
+
sh:maxCount 1 ;
|
|
47
|
+
sh:minCount 1 ;
|
|
48
|
+
sh:node shaclmate:InList ;
|
|
49
|
+
sh:path rdf:rest
|
|
50
|
+
]
|
|
51
|
+
]
|
|
52
|
+
) .
|
|
53
|
+
|
|
54
|
+
shaclmate:IriList
|
|
55
|
+
a sh:NodeShape ;
|
|
56
|
+
sh:xone ([
|
|
57
|
+
sh:hasValue ( )
|
|
58
|
+
]
|
|
59
|
+
[
|
|
60
|
+
sh:property [
|
|
61
|
+
sh:maxCount 1 ;
|
|
62
|
+
sh:minCount 1 ;
|
|
63
|
+
sh:nodeKind sh:IRI ;
|
|
64
|
+
sh:path rdf:first
|
|
65
|
+
], [
|
|
66
|
+
sh:maxCount 1 ;
|
|
67
|
+
sh:minCount 1 ;
|
|
68
|
+
sh:node shaclmate:IriList ;
|
|
69
|
+
sh:path rdf:rest
|
|
70
|
+
]
|
|
71
|
+
]
|
|
72
|
+
) .
|
|
73
|
+
|
|
74
|
+
shaclmate:NodeShape
|
|
75
|
+
shaclmate:fromRdfType sh:NodeShape ;
|
|
76
|
+
shaclmate:name "NodeShape" ;
|
|
77
|
+
a owl:Class, sh:NodeShape ;
|
|
78
|
+
sh:property shaclmate:NodeShape-closed, shaclmate:NodeShape-ignoredProperties, shaclmate:NodeShape-properties, shaclmate:NodeShape-subClassOf, shaclmate:NodeShape-types, shaclmate:Shape-and, shaclmate:Shape-classes, shaclmate:Shape-datatype, shaclmate:Shape-deactivated, shaclmate:Shape-flags, shaclmate:Shape-hasValues, shaclmate:Shape-in, shaclmate:Shape-isDefinedBy, shaclmate:Shape-languageIn, shaclmate:Shape-maxExclusive, shaclmate:Shape-maxInclusive, shaclmate:Shape-maxLength, shaclmate:Shape-message, shaclmate:Shape-minExclusive, shaclmate:Shape-minInclusive, shaclmate:Shape-minLength, shaclmate:Shape-node, shaclmate:Shape-nodeKind, shaclmate:Shape-not, shaclmate:Shape-or, shaclmate:Shape-pattern, shaclmate:Shape-severity, shaclmate:Shape-targetClass, shaclmate:Shape-targetNode, shaclmate:Shape-targetObjectsOf, shaclmate:Shape-targetSubjectsOf, shaclmate:Shape-xone, shaclmate:comment, shaclmate:label .
|
|
79
|
+
|
|
80
|
+
shaclmate:NodeShape-closed
|
|
81
|
+
a sh:PropertyShape ;
|
|
82
|
+
sh:datatype xsd:boolean ;
|
|
83
|
+
sh:maxCount 1 ;
|
|
84
|
+
sh:path sh:closed .
|
|
85
|
+
|
|
86
|
+
shaclmate:NodeShape-ignoredProperties
|
|
87
|
+
a sh:PropertyShape ;
|
|
88
|
+
sh:maxCount 1 ;
|
|
89
|
+
sh:node shaclmate:IriList ;
|
|
90
|
+
sh:path sh:ignoredProperties .
|
|
91
|
+
|
|
92
|
+
shaclmate:NodeShape-properties
|
|
93
|
+
a sh:PropertyShape ;
|
|
94
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
95
|
+
sh:path sh:property .
|
|
96
|
+
|
|
97
|
+
shaclmate:NodeShape-subClassOf
|
|
98
|
+
a sh:PropertyShape ;
|
|
99
|
+
sh:nodeKind sh:IRI ;
|
|
100
|
+
sh:path rdfs:subClassOf .
|
|
101
|
+
|
|
102
|
+
shaclmate:NodeShape-types
|
|
103
|
+
a sh:PropertyShape ;
|
|
104
|
+
sh:nodeKind sh:IRI ;
|
|
105
|
+
sh:path rdf:type .
|
|
106
|
+
|
|
107
|
+
shaclmate:Ontology
|
|
108
|
+
shaclmate:fromRdfType owl:Ontology ;
|
|
109
|
+
shaclmate:name "Ontology" ;
|
|
110
|
+
a owl:Class, sh:NodeShape ;
|
|
111
|
+
sh:property shaclmate:comment, shaclmate:label .
|
|
112
|
+
|
|
113
|
+
shaclmate:PropertyGroup
|
|
114
|
+
shaclmate:fromRdfType sh:PropertyGroup ;
|
|
115
|
+
shaclmate:name "PropertyGroup" ;
|
|
116
|
+
a sh:NodeShape ;
|
|
117
|
+
sh:property shaclmate:comment, shaclmate:label .
|
|
118
|
+
|
|
119
|
+
shaclmate:PropertyPath
|
|
120
|
+
shaclmate:extern true ;
|
|
121
|
+
shaclmate:name "$PropertyPath" ;
|
|
122
|
+
a sh:NodeShape ;
|
|
123
|
+
rdfs:comment "Extern PropertyPath since shaclmate is not sophisticated enough to deal with all property path variants yet" .
|
|
124
|
+
|
|
125
|
+
shaclmate:PropertyShape
|
|
126
|
+
shaclmate:fromRdfType sh:PropertyShape ;
|
|
127
|
+
shaclmate:name "PropertyShape" ;
|
|
128
|
+
a owl:Class, sh:NodeShape ;
|
|
129
|
+
sh:property shaclmate:PropertyShape-defaultValue, shaclmate:PropertyShape-description, shaclmate:PropertyShape-disjoint, shaclmate:PropertyShape-equals, shaclmate:PropertyShape-groups, shaclmate:PropertyShape-lessThan, shaclmate:PropertyShape-lessThanOrEquals, shaclmate:PropertyShape-maxCount, shaclmate:PropertyShape-minCount, shaclmate:PropertyShape-name, shaclmate:PropertyShape-order, shaclmate:PropertyShape-path, shaclmate:PropertyShape-qualifiedMaxCount, shaclmate:PropertyShape-qualifiedMinCount, shaclmate:PropertyShape-qualifiedValueShape, shaclmate:PropertyShape-qualifiedValueShapesDisjoint, shaclmate:PropertyShape-uniqueLang, shaclmate:Shape-and, shaclmate:Shape-classes, shaclmate:Shape-datatype, shaclmate:Shape-deactivated, shaclmate:Shape-flags, shaclmate:Shape-hasValues, shaclmate:Shape-in, shaclmate:Shape-isDefinedBy, shaclmate:Shape-languageIn, shaclmate:Shape-maxExclusive, shaclmate:Shape-maxInclusive, shaclmate:Shape-maxLength, shaclmate:Shape-message, shaclmate:Shape-minExclusive, shaclmate:Shape-minInclusive, shaclmate:Shape-minLength, shaclmate:Shape-node, shaclmate:Shape-nodeKind, shaclmate:Shape-not, shaclmate:Shape-or, shaclmate:Shape-pattern, shaclmate:Shape-severity, shaclmate:Shape-targetClass, shaclmate:Shape-targetNode, shaclmate:Shape-targetObjectsOf, shaclmate:Shape-targetSubjectsOf, shaclmate:Shape-xone, shaclmate:comment, shaclmate:label .
|
|
130
|
+
|
|
131
|
+
shaclmate:PropertyShape-defaultValue
|
|
132
|
+
a sh:PropertyShape ;
|
|
133
|
+
sh:maxCount 1 ;
|
|
134
|
+
sh:nodeKind sh:IRIOrLiteral ;
|
|
135
|
+
sh:path sh:defaultValue .
|
|
136
|
+
|
|
137
|
+
shaclmate:PropertyShape-description
|
|
138
|
+
a sh:PropertyShape ;
|
|
139
|
+
sh:datatype xsd:string ;
|
|
140
|
+
sh:maxCount 1 ;
|
|
141
|
+
sh:path sh:description .
|
|
142
|
+
|
|
143
|
+
shaclmate:PropertyShape-disjoint
|
|
144
|
+
a sh:PropertyShape ;
|
|
145
|
+
sh:nodeKind sh:IRI ;
|
|
146
|
+
sh:path sh:disjoint .
|
|
147
|
+
|
|
148
|
+
shaclmate:PropertyShape-equals
|
|
149
|
+
a sh:PropertyShape ;
|
|
150
|
+
sh:nodeKind sh:IRI ;
|
|
151
|
+
sh:path sh:equals .
|
|
152
|
+
|
|
153
|
+
shaclmate:PropertyShape-groups
|
|
154
|
+
a sh:PropertyShape ;
|
|
155
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
156
|
+
sh:path sh:group .
|
|
157
|
+
|
|
158
|
+
shaclmate:PropertyShape-lessThan
|
|
159
|
+
a sh:PropertyShape ;
|
|
160
|
+
sh:nodeKind sh:IRI ;
|
|
161
|
+
sh:path sh:lessThan .
|
|
162
|
+
|
|
163
|
+
shaclmate:PropertyShape-lessThanOrEquals
|
|
164
|
+
a sh:PropertyShape ;
|
|
165
|
+
sh:nodeKind sh:IRI ;
|
|
166
|
+
sh:path sh:lessThanOrEquals .
|
|
167
|
+
|
|
168
|
+
shaclmate:PropertyShape-maxCount
|
|
169
|
+
a sh:PropertyShape ;
|
|
170
|
+
sh:datatype xsd:integer ;
|
|
171
|
+
sh:maxCount 1 ;
|
|
172
|
+
sh:path sh:maxCount .
|
|
173
|
+
|
|
174
|
+
shaclmate:PropertyShape-minCount
|
|
175
|
+
a sh:PropertyShape ;
|
|
176
|
+
sh:datatype xsd:integer ;
|
|
177
|
+
sh:maxCount 1 ;
|
|
178
|
+
sh:path sh:minCount .
|
|
179
|
+
|
|
180
|
+
shaclmate:PropertyShape-name
|
|
181
|
+
shaclmate:display true ;
|
|
182
|
+
a sh:PropertyShape ;
|
|
183
|
+
sh:datatype xsd:string ;
|
|
184
|
+
sh:maxCount 1 ;
|
|
185
|
+
sh:path sh:name .
|
|
186
|
+
|
|
187
|
+
shaclmate:PropertyShape-order
|
|
188
|
+
a sh:PropertyShape ;
|
|
189
|
+
sh:datatype xsd:double ;
|
|
190
|
+
sh:maxCount 1 ;
|
|
191
|
+
sh:path sh:order .
|
|
192
|
+
|
|
193
|
+
shaclmate:PropertyShape-path
|
|
194
|
+
shaclmate:display true ;
|
|
195
|
+
a sh:PropertyShape ;
|
|
196
|
+
sh:maxCount 1 ;
|
|
197
|
+
sh:minCount 1 ;
|
|
198
|
+
sh:node shaclmate:PropertyPath ;
|
|
199
|
+
sh:path sh:path .
|
|
200
|
+
|
|
201
|
+
shaclmate:PropertyShape-qualifiedMaxCount
|
|
202
|
+
a sh:PropertyShape ;
|
|
203
|
+
sh:datatype xsd:integer ;
|
|
204
|
+
sh:maxCount 1 ;
|
|
205
|
+
sh:path sh:qualifiedMaxCount .
|
|
206
|
+
|
|
207
|
+
shaclmate:PropertyShape-qualifiedMinCount
|
|
208
|
+
a sh:PropertyShape ;
|
|
209
|
+
sh:datatype xsd:integer ;
|
|
210
|
+
sh:maxCount 1 ;
|
|
211
|
+
sh:path sh:qualifiedMinCount .
|
|
212
|
+
|
|
213
|
+
shaclmate:PropertyShape-qualifiedValueShape
|
|
214
|
+
a sh:PropertyShape ;
|
|
215
|
+
sh:maxCount 1 ;
|
|
216
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
217
|
+
sh:path sh:qualifiedValueShape .
|
|
218
|
+
|
|
219
|
+
shaclmate:PropertyShape-qualifiedValueShapesDisjoint
|
|
220
|
+
a sh:PropertyShape ;
|
|
221
|
+
sh:datatype xsd:boolean ;
|
|
222
|
+
sh:maxCount 1 ;
|
|
223
|
+
sh:path sh:qualifiedValueShapesDisjoint .
|
|
224
|
+
|
|
225
|
+
shaclmate:PropertyShape-uniqueLang
|
|
226
|
+
a sh:PropertyShape ;
|
|
227
|
+
sh:datatype xsd:boolean ;
|
|
228
|
+
sh:maxCount 1 ;
|
|
229
|
+
sh:path sh:uniqueLang .
|
|
230
|
+
|
|
231
|
+
shaclmate:Severity
|
|
232
|
+
a sh:NodeShape ;
|
|
233
|
+
sh:in (sh:Info
|
|
234
|
+
sh:Warning
|
|
235
|
+
sh:Violation
|
|
236
|
+
) .
|
|
237
|
+
|
|
238
|
+
shaclmate:Shape
|
|
239
|
+
a sh:NodeShape ;
|
|
240
|
+
sh:xone (shaclmate:NodeShape
|
|
241
|
+
shaclmate:PropertyShape
|
|
242
|
+
) .
|
|
243
|
+
|
|
244
|
+
shaclmate:Shape-and
|
|
245
|
+
a sh:PropertyShape ;
|
|
246
|
+
sh:maxCount 1 ;
|
|
247
|
+
sh:node shaclmate:IdentifierList ;
|
|
248
|
+
sh:path sh:and .
|
|
249
|
+
|
|
250
|
+
shaclmate:Shape-classes
|
|
251
|
+
a sh:PropertyShape ;
|
|
252
|
+
sh:name "classes" ;
|
|
253
|
+
sh:nodeKind sh:IRI ;
|
|
254
|
+
sh:path sh:class .
|
|
255
|
+
|
|
256
|
+
shaclmate:Shape-datatype
|
|
257
|
+
a sh:PropertyShape ;
|
|
258
|
+
sh:maxCount 1 ;
|
|
259
|
+
sh:nodeKind sh:IRI ;
|
|
260
|
+
sh:path sh:datatype .
|
|
261
|
+
|
|
262
|
+
shaclmate:Shape-deactivated
|
|
263
|
+
a sh:PropertyShape ;
|
|
264
|
+
sh:datatype xsd:boolean ;
|
|
265
|
+
sh:maxCount 1 ;
|
|
266
|
+
sh:path sh:deactivated .
|
|
267
|
+
|
|
268
|
+
shaclmate:Shape-flags
|
|
269
|
+
a sh:PropertyShape ;
|
|
270
|
+
sh:datatype xsd:string ;
|
|
271
|
+
sh:maxCount 1 ;
|
|
272
|
+
sh:path sh:flags .
|
|
273
|
+
|
|
274
|
+
shaclmate:Shape-hasValues
|
|
275
|
+
a sh:PropertyShape ;
|
|
276
|
+
sh:name "hasValues" ;
|
|
277
|
+
sh:nodeKind sh:IRIOrLiteral ;
|
|
278
|
+
sh:path sh:hasValue .
|
|
279
|
+
|
|
280
|
+
shaclmate:Shape-in
|
|
281
|
+
a sh:PropertyShape ;
|
|
282
|
+
sh:maxCount 1 ;
|
|
283
|
+
sh:name "in_" ;
|
|
284
|
+
sh:node shaclmate:InList ;
|
|
285
|
+
sh:path sh:in .
|
|
286
|
+
|
|
287
|
+
shaclmate:Shape-isDefinedBy
|
|
288
|
+
a sh:PropertyShape ;
|
|
289
|
+
sh:maxCount 1 ;
|
|
290
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
291
|
+
sh:path rdfs:isDefinedBy .
|
|
292
|
+
|
|
293
|
+
shaclmate:Shape-languageIn
|
|
294
|
+
a sh:PropertyShape ;
|
|
295
|
+
sh:maxCount 1 ;
|
|
296
|
+
sh:node shaclmate:StringList ;
|
|
297
|
+
sh:path sh:languageIn .
|
|
298
|
+
|
|
299
|
+
shaclmate:Shape-maxExclusive
|
|
300
|
+
a sh:PropertyShape ;
|
|
301
|
+
sh:maxCount 1 ;
|
|
302
|
+
sh:nodeKind sh:Literal ;
|
|
303
|
+
sh:path sh:maxExclusive .
|
|
304
|
+
|
|
305
|
+
shaclmate:Shape-maxInclusive
|
|
306
|
+
a sh:PropertyShape ;
|
|
307
|
+
sh:maxCount 1 ;
|
|
308
|
+
sh:nodeKind sh:Literal ;
|
|
309
|
+
sh:path sh:maxInclusive .
|
|
310
|
+
|
|
311
|
+
shaclmate:Shape-maxLength
|
|
312
|
+
a sh:PropertyShape ;
|
|
313
|
+
sh:datatype xsd:integer ;
|
|
314
|
+
sh:maxCount 1 ;
|
|
315
|
+
sh:path sh:maxLength .
|
|
316
|
+
|
|
317
|
+
shaclmate:Shape-message
|
|
318
|
+
a sh:PropertyShape ;
|
|
319
|
+
sh:datatype xsd:string ;
|
|
320
|
+
sh:maxCount 1 ;
|
|
321
|
+
sh:path sh:message .
|
|
322
|
+
|
|
323
|
+
shaclmate:Shape-minExclusive
|
|
324
|
+
a sh:PropertyShape ;
|
|
325
|
+
sh:maxCount 1 ;
|
|
326
|
+
sh:nodeKind sh:Literal ;
|
|
327
|
+
sh:path sh:minExclusive .
|
|
328
|
+
|
|
329
|
+
shaclmate:Shape-minInclusive
|
|
330
|
+
a sh:PropertyShape ;
|
|
331
|
+
sh:maxCount 1 ;
|
|
332
|
+
sh:nodeKind sh:Literal ;
|
|
333
|
+
sh:path sh:minInclusive .
|
|
334
|
+
|
|
335
|
+
shaclmate:Shape-minLength
|
|
336
|
+
a sh:PropertyShape ;
|
|
337
|
+
sh:datatype xsd:integer ;
|
|
338
|
+
sh:maxCount 1 ;
|
|
339
|
+
sh:path sh:minLength .
|
|
340
|
+
|
|
341
|
+
shaclmate:Shape-node
|
|
342
|
+
a sh:PropertyShape ;
|
|
343
|
+
sh:maxCount 1 ;
|
|
344
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
345
|
+
sh:path sh:node .
|
|
346
|
+
|
|
347
|
+
shaclmate:Shape-nodeKind
|
|
348
|
+
a sh:PropertyShape ;
|
|
349
|
+
sh:in (sh:BlankNode
|
|
350
|
+
sh:BlankNodeOrIRI
|
|
351
|
+
sh:BlankNodeOrLiteral
|
|
352
|
+
sh:IRI
|
|
353
|
+
sh:IRIOrLiteral
|
|
354
|
+
sh:Literal
|
|
355
|
+
) ;
|
|
356
|
+
sh:maxCount 1 ;
|
|
357
|
+
sh:path sh:nodeKind .
|
|
358
|
+
|
|
359
|
+
shaclmate:Shape-not
|
|
360
|
+
a sh:PropertyShape ;
|
|
361
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
362
|
+
sh:path sh:not .
|
|
363
|
+
|
|
364
|
+
shaclmate:Shape-or
|
|
365
|
+
a sh:PropertyShape ;
|
|
366
|
+
sh:maxCount 1 ;
|
|
367
|
+
sh:node shaclmate:IdentifierList ;
|
|
368
|
+
sh:path sh:or .
|
|
369
|
+
|
|
370
|
+
shaclmate:Shape-pattern
|
|
371
|
+
a sh:PropertyShape ;
|
|
372
|
+
sh:datatype xsd:string ;
|
|
373
|
+
sh:maxCount 1 ;
|
|
374
|
+
sh:name "pattern" ;
|
|
375
|
+
sh:path sh:pattern .
|
|
376
|
+
|
|
377
|
+
shaclmate:Shape-severity
|
|
378
|
+
a sh:PropertyShape ;
|
|
379
|
+
sh:maxCount 1 ;
|
|
380
|
+
sh:node shaclmate:Severity ;
|
|
381
|
+
sh:path sh:severity .
|
|
382
|
+
|
|
383
|
+
shaclmate:Shape-targetClass
|
|
384
|
+
a sh:PropertyShape ;
|
|
385
|
+
sh:name "targetClasses" ;
|
|
386
|
+
sh:nodeKind sh:IRI ;
|
|
387
|
+
sh:path sh:targetClass .
|
|
388
|
+
|
|
389
|
+
shaclmate:Shape-targetNode
|
|
390
|
+
a sh:PropertyShape ;
|
|
391
|
+
sh:name "targetNodes" ;
|
|
392
|
+
sh:nodeKind sh:IRIOrLiteral ;
|
|
393
|
+
sh:path sh:targetNode .
|
|
394
|
+
|
|
395
|
+
shaclmate:Shape-targetObjectsOf
|
|
396
|
+
a sh:PropertyShape ;
|
|
397
|
+
sh:nodeKind sh:IRI ;
|
|
398
|
+
sh:path sh:targetObjectsOf .
|
|
399
|
+
|
|
400
|
+
shaclmate:Shape-targetSubjectsOf
|
|
401
|
+
a sh:PropertyShape ;
|
|
402
|
+
sh:nodeKind sh:IRI ;
|
|
403
|
+
sh:path sh:targetSubjectsOf .
|
|
404
|
+
|
|
405
|
+
shaclmate:Shape-xone
|
|
406
|
+
a sh:PropertyShape ;
|
|
407
|
+
sh:maxCount 1 ;
|
|
408
|
+
sh:node shaclmate:IdentifierList ;
|
|
409
|
+
sh:path sh:xone .
|
|
410
|
+
|
|
411
|
+
shaclmate:StringList
|
|
412
|
+
a sh:NodeShape ;
|
|
413
|
+
sh:xone ([
|
|
414
|
+
sh:hasValue ( )
|
|
415
|
+
]
|
|
416
|
+
[
|
|
417
|
+
sh:property [
|
|
418
|
+
sh:datatype xsd:string ;
|
|
419
|
+
sh:maxCount 1 ;
|
|
420
|
+
sh:minCount 1 ;
|
|
421
|
+
sh:path rdf:first
|
|
422
|
+
], [
|
|
423
|
+
sh:maxCount 1 ;
|
|
424
|
+
sh:minCount 1 ;
|
|
425
|
+
sh:node shaclmate:StringList ;
|
|
426
|
+
sh:path rdf:rest
|
|
427
|
+
]
|
|
428
|
+
]
|
|
429
|
+
) .
|
|
430
|
+
|
|
431
|
+
shaclmate:ValidationReport
|
|
432
|
+
shaclmate:fromRdfType sh:ValidationReport ;
|
|
433
|
+
shaclmate:name "ValidationReport" ;
|
|
434
|
+
a sh:NodeShape ;
|
|
435
|
+
sh:property shaclmate:ValidationReport-conforms, shaclmate:ValidationReport-results, shaclmate:ValidationReport-shapesGraphWellFormed .
|
|
436
|
+
|
|
437
|
+
shaclmate:ValidationReport-conforms
|
|
438
|
+
a sh:PropertyShape ;
|
|
439
|
+
sh:datatype xsd:boolean ;
|
|
440
|
+
sh:maxCount 1 ;
|
|
441
|
+
sh:minCount 1 ;
|
|
442
|
+
sh:path sh:conforms .
|
|
443
|
+
|
|
444
|
+
shaclmate:ValidationReport-results
|
|
445
|
+
a sh:PropertyShape ;
|
|
446
|
+
sh:node shaclmate:ValidationResult ;
|
|
447
|
+
sh:path sh:result .
|
|
448
|
+
|
|
449
|
+
shaclmate:ValidationReport-shapesGraphWellFormed
|
|
450
|
+
a sh:PropertyShape ;
|
|
451
|
+
sh:datatype xsd:boolean ;
|
|
452
|
+
sh:maxCount 1 ;
|
|
453
|
+
sh:path sh:shapesGraphWellFormed .
|
|
454
|
+
|
|
455
|
+
shaclmate:ValidationResult
|
|
456
|
+
shaclmate:fromRdfType sh:ValidationResult ;
|
|
457
|
+
shaclmate:name "ValidationResult" ;
|
|
458
|
+
a sh:NodeShape ;
|
|
459
|
+
sh:property shaclmate:ValidationResult-details, shaclmate:ValidationResult-focusNode, shaclmate:ValidationResult-message, shaclmate:ValidationResult-path, shaclmate:ValidationResult-severity, shaclmate:ValidationResult-sourceConstraintComponent, shaclmate:ValidationResult-sourceShape, shaclmate:ValidationResult-value .
|
|
460
|
+
|
|
461
|
+
shaclmate:ValidationResult-details
|
|
462
|
+
a sh:PropertyShape ;
|
|
463
|
+
sh:path sh:detail .
|
|
464
|
+
|
|
465
|
+
shaclmate:ValidationResult-focusNode
|
|
466
|
+
a sh:PropertyShape ;
|
|
467
|
+
sh:maxCount 1 ;
|
|
468
|
+
sh:minCount 1 ;
|
|
469
|
+
sh:path sh:focusNode .
|
|
470
|
+
|
|
471
|
+
shaclmate:ValidationResult-message
|
|
472
|
+
a sh:PropertyShape ;
|
|
473
|
+
sh:datatype xsd:string ;
|
|
474
|
+
sh:maxCount 1 ;
|
|
475
|
+
sh:path sh:resultMessage .
|
|
476
|
+
|
|
477
|
+
shaclmate:ValidationResult-path
|
|
478
|
+
a sh:PropertyShape ;
|
|
479
|
+
sh:maxCount 1 ;
|
|
480
|
+
sh:node shaclmate:PropertyPath ;
|
|
481
|
+
sh:path sh:resultPath .
|
|
482
|
+
|
|
483
|
+
shaclmate:ValidationResult-severity
|
|
484
|
+
a sh:PropertyShape ;
|
|
485
|
+
sh:maxCount 1 ;
|
|
486
|
+
sh:minCount 1 ;
|
|
487
|
+
sh:node shaclmate:Severity ;
|
|
488
|
+
sh:path sh:resultSeverity .
|
|
489
|
+
|
|
490
|
+
shaclmate:ValidationResult-sourceConstraintComponent
|
|
491
|
+
a sh:PropertyShape ;
|
|
492
|
+
sh:maxCount 1 ;
|
|
493
|
+
sh:minCount 1 ;
|
|
494
|
+
sh:nodeKind sh:IRI ;
|
|
495
|
+
sh:path sh:sourceConstraintComponent .
|
|
496
|
+
|
|
497
|
+
shaclmate:ValidationResult-sourceShape
|
|
498
|
+
a sh:PropertyShape ;
|
|
499
|
+
sh:maxCount 1 ;
|
|
500
|
+
sh:nodeKind sh:BlankNodeOrIRI ;
|
|
501
|
+
sh:path sh:sourceShape .
|
|
502
|
+
|
|
503
|
+
shaclmate:ValidationResult-value
|
|
504
|
+
a sh:PropertyShape ;
|
|
505
|
+
sh:maxCount 1 ;
|
|
506
|
+
sh:path sh:value .
|
|
507
|
+
|
|
508
|
+
shaclmate:comment
|
|
509
|
+
a sh:PropertyShape ;
|
|
510
|
+
sh:datatype xsd:string ;
|
|
511
|
+
sh:maxCount 1 ;
|
|
512
|
+
sh:name "comment" ;
|
|
513
|
+
sh:path rdfs:comment .
|
|
514
|
+
|
|
515
|
+
shaclmate:label
|
|
516
|
+
shaclmate:display true ;
|
|
517
|
+
a sh:PropertyShape ;
|
|
518
|
+
sh:datatype xsd:string ;
|
|
519
|
+
sh:maxCount 1 ;
|
|
520
|
+
sh:path rdfs:label .
|
|
521
|
+
|
package/package.json
CHANGED
|
@@ -22,8 +22,23 @@
|
|
|
22
22
|
},
|
|
23
23
|
"files": [
|
|
24
24
|
"README.md",
|
|
25
|
-
"dist
|
|
26
|
-
"dist
|
|
25
|
+
"dist/AbstractShapesGraph.d.ts",
|
|
26
|
+
"dist/AbstractShapesGraph.js",
|
|
27
|
+
"dist/Curie.d.ts",
|
|
28
|
+
"dist/Curie.js",
|
|
29
|
+
"dist/CurieFactory.d.ts",
|
|
30
|
+
"dist/CurieFactory.js",
|
|
31
|
+
"dist/IdentifierNodeKind.d.ts",
|
|
32
|
+
"dist/IdentifierNodeKind.js",
|
|
33
|
+
"dist/NodeKind.d.ts",
|
|
34
|
+
"dist/NodeKind.js",
|
|
35
|
+
"dist/ShapesGraph.d.ts",
|
|
36
|
+
"dist/ShapesGraph.js",
|
|
37
|
+
"dist/index.d.ts",
|
|
38
|
+
"dist/index.js",
|
|
39
|
+
"dist/shacl-ast.shaclmate.d.ts",
|
|
40
|
+
"dist/shacl-ast.shaclmate.js",
|
|
41
|
+
"dist/shacl-ast.shaclmate.ttl"
|
|
27
42
|
],
|
|
28
43
|
"license": "Apache-2.0",
|
|
29
44
|
"main": "./dist/index.js",
|
|
@@ -34,7 +49,7 @@
|
|
|
34
49
|
"url": "git+https://github.com/minorg/shaclmate.git"
|
|
35
50
|
},
|
|
36
51
|
"scripts": {
|
|
37
|
-
"build": "tsc -b",
|
|
52
|
+
"build": "tsc -b && cp src/shacl-ast.shaclmate.ttl dist/shacl-ast.shaclmate.ttl",
|
|
38
53
|
"clean": "rimraf dist",
|
|
39
54
|
"depcheck": "depcheck .",
|
|
40
55
|
"dev": "tsc -w --preserveWatchOutput",
|
|
@@ -45,5 +60,5 @@
|
|
|
45
60
|
},
|
|
46
61
|
"type": "module",
|
|
47
62
|
"types": "./dist/index.d.ts",
|
|
48
|
-
"version": "4.0.
|
|
63
|
+
"version": "4.0.51"
|
|
49
64
|
}
|