eyeling 1.26.7 → 1.27.0
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/HANDBOOK.md +32 -1
- package/dist/browser/eyeling.browser.js +396 -3
- package/examples/deck/act-barley-seed-lineage.md +1 -1
- package/examples/deck/faltings-genus2-finiteness.md +1 -1
- package/examples/deck/high-trust-rdf-bloom-envelope.md +1 -1
- package/examples/deck/odrl-dpv-risk-ranked.md +1 -1
- package/examples/deck/rdf-message-cold-chain-recall.md +71 -0
- package/examples/deck/rdf-message-flow.md +1 -1
- package/examples/deck/rdf-message-ldes-incremental.md +94 -0
- package/examples/deck/rdf-message-window-repair.md +1 -1
- package/examples/deck/schema-foaf-mapping.md +2 -0
- package/examples/input/rdf-message-cold-chain-recall.trig +668 -0
- package/examples/input/rdf-message-flow.trig +3 -0
- package/examples/input/rdf-message-ldes-incremental.trig +564 -0
- package/examples/input/rdf-message-microgrid.trig +3 -0
- package/examples/input/rdf-message-window-repair.trig +3 -0
- package/examples/input/rdf-messages.trig +3 -0
- package/examples/output/rdf-message-cold-chain-recall.md +13 -0
- package/examples/output/rdf-message-ldes-incremental.md +13 -0
- package/examples/rdf-message-cold-chain-recall.n3 +229 -0
- package/examples/rdf-message-flow.n3 +3 -0
- package/examples/rdf-message-ldes-incremental.n3 +231 -0
- package/examples/rdf-message-microgrid.n3 +3 -0
- package/examples/rdf-message-window-repair.n3 +3 -0
- package/examples/rdf-messages.n3 +3 -0
- package/eyeling.js +396 -3
- package/lib/cli.js +396 -3
- package/package.json +5 -3
- package/test/examples.test.js +25 -14
- package/test/fixtures/marc-rules-stream-messages.n3 +192 -0
- package/test/stream_messages.test.js +243 -0
|
@@ -0,0 +1,668 @@
|
|
|
1
|
+
# ===================================
|
|
2
|
+
# RDF Message Cold Chain Recall input
|
|
3
|
+
# ===================================
|
|
4
|
+
#
|
|
5
|
+
# This file is the data half of the runnable example:
|
|
6
|
+
#
|
|
7
|
+
# eyeling -r examples/rdf-message-cold-chain-recall.n3 examples/input/rdf-message-cold-chain-recall.trig
|
|
8
|
+
#
|
|
9
|
+
# See the handbook section on RDF Message Log replay under -r:
|
|
10
|
+
# https://eyereasoner.github.io/eyeling/HANDBOOK#rdf-message-log-replay-under--r
|
|
11
|
+
#
|
|
12
|
+
# It serializes one LDES configuration message followed by forty-eight telemetry
|
|
13
|
+
# member messages. A consumer checkpoint at sequence 42 lets the N3 rules skip
|
|
14
|
+
# the large committed prefix and repair only the new tail.
|
|
15
|
+
|
|
16
|
+
VERSION "1.2-messages"
|
|
17
|
+
PREFIX : <https://eyereasoner.github.io/eyeling/examples/rdf-message-cold-chain-recall#>
|
|
18
|
+
PREFIX ldes: <https://w3id.org/ldes#>
|
|
19
|
+
PREFIX tree: <https://w3id.org/tree#>
|
|
20
|
+
PREFIX see: <https://example.org/see#>
|
|
21
|
+
PREFIX in: <https://example.org/see/input#>
|
|
22
|
+
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
|
|
23
|
+
|
|
24
|
+
# Message 1: stable LDES stream metadata and consumer checkpoint.
|
|
25
|
+
:telemetryStream a ldes:EventStream ;
|
|
26
|
+
ldes:timestampPath :observedAt ;
|
|
27
|
+
ldes:sequencePath :sequence ;
|
|
28
|
+
tree:view :telemetryPage ;
|
|
29
|
+
:lastCommittedSequence 42 ;
|
|
30
|
+
:currentWindowFromSequence 43 ;
|
|
31
|
+
:temperatureLimitTenthC 80 ;
|
|
32
|
+
:temperatureLimitLabel "8.0°C" ;
|
|
33
|
+
:repairPolicy :preferCalibratedLogger .
|
|
34
|
+
|
|
35
|
+
:quarantineDecision :decisionText "quarantine batchA, notify QA, and hold shipment" .
|
|
36
|
+
|
|
37
|
+
in:run a see:InputDataset ;
|
|
38
|
+
see:name "rdf_message_cold_chain_recall" ;
|
|
39
|
+
see:title "RDF Message Cold Chain Recall" ;
|
|
40
|
+
see:sourceFile "examples/rdf-message-cold-chain-recall.n3" ;
|
|
41
|
+
see:description "Forty-eight cold-chain telemetry members serialized as RDF Messages; the rules resume after a sequence checkpoint and repair contradictory tail evidence." ;
|
|
42
|
+
see:compiler "Eyeling RDF Message Log input" .
|
|
43
|
+
|
|
44
|
+
MESSAGE
|
|
45
|
+
# Message 2: historical telemetry member 001, already committed by the checkpoint.
|
|
46
|
+
:telemetryStream tree:member :obs-001 .
|
|
47
|
+
|
|
48
|
+
:obs-001 a :ColdChainObservation ;
|
|
49
|
+
:sequence 1 ;
|
|
50
|
+
:observedAt "2026-05-12T12:03:00Z"^^xsd:dateTime ;
|
|
51
|
+
:batch :batchA ;
|
|
52
|
+
:temperatureTenthC 43 ;
|
|
53
|
+
:temperatureLabel "4.3°C" ;
|
|
54
|
+
:priority 1 ;
|
|
55
|
+
:source "dock-sensor" .
|
|
56
|
+
|
|
57
|
+
MESSAGE
|
|
58
|
+
# Message 3: historical telemetry member 002, already committed by the checkpoint.
|
|
59
|
+
:telemetryStream tree:member :obs-002 .
|
|
60
|
+
|
|
61
|
+
:obs-002 a :ColdChainObservation ;
|
|
62
|
+
:sequence 2 ;
|
|
63
|
+
:observedAt "2026-05-12T12:06:00Z"^^xsd:dateTime ;
|
|
64
|
+
:batch :batchA ;
|
|
65
|
+
:temperatureTenthC 44 ;
|
|
66
|
+
:temperatureLabel "4.4°C" ;
|
|
67
|
+
:priority 1 ;
|
|
68
|
+
:source "warehouse-reader" .
|
|
69
|
+
|
|
70
|
+
MESSAGE
|
|
71
|
+
# Message 4: historical telemetry member 003, already committed by the checkpoint.
|
|
72
|
+
:telemetryStream tree:member :obs-003 .
|
|
73
|
+
|
|
74
|
+
:obs-003 a :ColdChainObservation ;
|
|
75
|
+
:sequence 3 ;
|
|
76
|
+
:observedAt "2026-05-12T12:09:00Z"^^xsd:dateTime ;
|
|
77
|
+
:batch :batchA ;
|
|
78
|
+
:temperatureTenthC 45 ;
|
|
79
|
+
:temperatureLabel "4.5°C" ;
|
|
80
|
+
:priority 1 ;
|
|
81
|
+
:source "truck-gateway" .
|
|
82
|
+
|
|
83
|
+
MESSAGE
|
|
84
|
+
# Message 5: historical telemetry member 004, already committed by the checkpoint.
|
|
85
|
+
:telemetryStream tree:member :obs-004 .
|
|
86
|
+
|
|
87
|
+
:obs-004 a :ColdChainObservation ;
|
|
88
|
+
:sequence 4 ;
|
|
89
|
+
:observedAt "2026-05-12T12:12:00Z"^^xsd:dateTime ;
|
|
90
|
+
:batch :batchA ;
|
|
91
|
+
:temperatureTenthC 46 ;
|
|
92
|
+
:temperatureLabel "4.6°C" ;
|
|
93
|
+
:priority 1 ;
|
|
94
|
+
:source "dock-sensor" .
|
|
95
|
+
|
|
96
|
+
MESSAGE
|
|
97
|
+
# Message 6: historical telemetry member 005, already committed by the checkpoint.
|
|
98
|
+
:telemetryStream tree:member :obs-005 .
|
|
99
|
+
|
|
100
|
+
:obs-005 a :ColdChainObservation ;
|
|
101
|
+
:sequence 5 ;
|
|
102
|
+
:observedAt "2026-05-12T12:15:00Z"^^xsd:dateTime ;
|
|
103
|
+
:batch :batchA ;
|
|
104
|
+
:temperatureTenthC 47 ;
|
|
105
|
+
:temperatureLabel "4.7°C" ;
|
|
106
|
+
:priority 1 ;
|
|
107
|
+
:source "warehouse-reader" .
|
|
108
|
+
|
|
109
|
+
MESSAGE
|
|
110
|
+
# Message 7: historical telemetry member 006, already committed by the checkpoint.
|
|
111
|
+
:telemetryStream tree:member :obs-006 .
|
|
112
|
+
|
|
113
|
+
:obs-006 a :ColdChainObservation ;
|
|
114
|
+
:sequence 6 ;
|
|
115
|
+
:observedAt "2026-05-12T12:18:00Z"^^xsd:dateTime ;
|
|
116
|
+
:batch :batchA ;
|
|
117
|
+
:temperatureTenthC 48 ;
|
|
118
|
+
:temperatureLabel "4.8°C" ;
|
|
119
|
+
:priority 1 ;
|
|
120
|
+
:source "truck-gateway" .
|
|
121
|
+
|
|
122
|
+
MESSAGE
|
|
123
|
+
# Message 8: historical telemetry member 007, already committed by the checkpoint.
|
|
124
|
+
:telemetryStream tree:member :obs-007 .
|
|
125
|
+
|
|
126
|
+
:obs-007 a :ColdChainObservation ;
|
|
127
|
+
:sequence 7 ;
|
|
128
|
+
:observedAt "2026-05-12T12:21:00Z"^^xsd:dateTime ;
|
|
129
|
+
:batch :batchA ;
|
|
130
|
+
:temperatureTenthC 49 ;
|
|
131
|
+
:temperatureLabel "4.9°C" ;
|
|
132
|
+
:priority 1 ;
|
|
133
|
+
:source "dock-sensor" .
|
|
134
|
+
|
|
135
|
+
MESSAGE
|
|
136
|
+
# Message 9: historical telemetry member 008, already committed by the checkpoint.
|
|
137
|
+
:telemetryStream tree:member :obs-008 .
|
|
138
|
+
|
|
139
|
+
:obs-008 a :ColdChainObservation ;
|
|
140
|
+
:sequence 8 ;
|
|
141
|
+
:observedAt "2026-05-12T12:24:00Z"^^xsd:dateTime ;
|
|
142
|
+
:batch :batchA ;
|
|
143
|
+
:temperatureTenthC 42 ;
|
|
144
|
+
:temperatureLabel "4.2°C" ;
|
|
145
|
+
:priority 1 ;
|
|
146
|
+
:source "warehouse-reader" .
|
|
147
|
+
|
|
148
|
+
MESSAGE
|
|
149
|
+
# Message 10: historical telemetry member 009, already committed by the checkpoint.
|
|
150
|
+
:telemetryStream tree:member :obs-009 .
|
|
151
|
+
|
|
152
|
+
:obs-009 a :ColdChainObservation ;
|
|
153
|
+
:sequence 9 ;
|
|
154
|
+
:observedAt "2026-05-12T12:27:00Z"^^xsd:dateTime ;
|
|
155
|
+
:batch :batchA ;
|
|
156
|
+
:temperatureTenthC 43 ;
|
|
157
|
+
:temperatureLabel "4.3°C" ;
|
|
158
|
+
:priority 1 ;
|
|
159
|
+
:source "truck-gateway" .
|
|
160
|
+
|
|
161
|
+
MESSAGE
|
|
162
|
+
# Message 11: historical telemetry member 010, already committed by the checkpoint.
|
|
163
|
+
:telemetryStream tree:member :obs-010 .
|
|
164
|
+
|
|
165
|
+
:obs-010 a :ColdChainObservation ;
|
|
166
|
+
:sequence 10 ;
|
|
167
|
+
:observedAt "2026-05-12T13:30:00Z"^^xsd:dateTime ;
|
|
168
|
+
:batch :batchA ;
|
|
169
|
+
:temperatureTenthC 44 ;
|
|
170
|
+
:temperatureLabel "4.4°C" ;
|
|
171
|
+
:priority 1 ;
|
|
172
|
+
:source "dock-sensor" .
|
|
173
|
+
|
|
174
|
+
MESSAGE
|
|
175
|
+
# Message 12: historical telemetry member 011, already committed by the checkpoint.
|
|
176
|
+
:telemetryStream tree:member :obs-011 .
|
|
177
|
+
|
|
178
|
+
:obs-011 a :ColdChainObservation ;
|
|
179
|
+
:sequence 11 ;
|
|
180
|
+
:observedAt "2026-05-12T13:33:00Z"^^xsd:dateTime ;
|
|
181
|
+
:batch :batchA ;
|
|
182
|
+
:temperatureTenthC 45 ;
|
|
183
|
+
:temperatureLabel "4.5°C" ;
|
|
184
|
+
:priority 1 ;
|
|
185
|
+
:source "warehouse-reader" .
|
|
186
|
+
|
|
187
|
+
MESSAGE
|
|
188
|
+
# Message 13: historical telemetry member 012, already committed by the checkpoint.
|
|
189
|
+
:telemetryStream tree:member :obs-012 .
|
|
190
|
+
|
|
191
|
+
:obs-012 a :ColdChainObservation ;
|
|
192
|
+
:sequence 12 ;
|
|
193
|
+
:observedAt "2026-05-12T13:36:00Z"^^xsd:dateTime ;
|
|
194
|
+
:batch :batchA ;
|
|
195
|
+
:temperatureTenthC 46 ;
|
|
196
|
+
:temperatureLabel "4.6°C" ;
|
|
197
|
+
:priority 1 ;
|
|
198
|
+
:source "truck-gateway" .
|
|
199
|
+
|
|
200
|
+
MESSAGE
|
|
201
|
+
# Message 14: historical telemetry member 013, already committed by the checkpoint.
|
|
202
|
+
:telemetryStream tree:member :obs-013 .
|
|
203
|
+
|
|
204
|
+
:obs-013 a :ColdChainObservation ;
|
|
205
|
+
:sequence 13 ;
|
|
206
|
+
:observedAt "2026-05-12T13:39:00Z"^^xsd:dateTime ;
|
|
207
|
+
:batch :batchA ;
|
|
208
|
+
:temperatureTenthC 47 ;
|
|
209
|
+
:temperatureLabel "4.7°C" ;
|
|
210
|
+
:priority 1 ;
|
|
211
|
+
:source "dock-sensor" .
|
|
212
|
+
|
|
213
|
+
MESSAGE
|
|
214
|
+
# Message 15: historical telemetry member 014, already committed by the checkpoint.
|
|
215
|
+
:telemetryStream tree:member :obs-014 .
|
|
216
|
+
|
|
217
|
+
:obs-014 a :ColdChainObservation ;
|
|
218
|
+
:sequence 14 ;
|
|
219
|
+
:observedAt "2026-05-12T13:42:00Z"^^xsd:dateTime ;
|
|
220
|
+
:batch :batchA ;
|
|
221
|
+
:temperatureTenthC 48 ;
|
|
222
|
+
:temperatureLabel "4.8°C" ;
|
|
223
|
+
:priority 1 ;
|
|
224
|
+
:source "warehouse-reader" .
|
|
225
|
+
|
|
226
|
+
MESSAGE
|
|
227
|
+
# Message 16: historical telemetry member 015, already committed by the checkpoint.
|
|
228
|
+
:telemetryStream tree:member :obs-015 .
|
|
229
|
+
|
|
230
|
+
:obs-015 a :ColdChainObservation ;
|
|
231
|
+
:sequence 15 ;
|
|
232
|
+
:observedAt "2026-05-12T13:45:00Z"^^xsd:dateTime ;
|
|
233
|
+
:batch :batchA ;
|
|
234
|
+
:temperatureTenthC 49 ;
|
|
235
|
+
:temperatureLabel "4.9°C" ;
|
|
236
|
+
:priority 1 ;
|
|
237
|
+
:source "truck-gateway" .
|
|
238
|
+
|
|
239
|
+
MESSAGE
|
|
240
|
+
# Message 17: historical telemetry member 016, already committed by the checkpoint.
|
|
241
|
+
:telemetryStream tree:member :obs-016 .
|
|
242
|
+
|
|
243
|
+
:obs-016 a :ColdChainObservation ;
|
|
244
|
+
:sequence 16 ;
|
|
245
|
+
:observedAt "2026-05-12T13:48:00Z"^^xsd:dateTime ;
|
|
246
|
+
:batch :batchA ;
|
|
247
|
+
:temperatureTenthC 42 ;
|
|
248
|
+
:temperatureLabel "4.2°C" ;
|
|
249
|
+
:priority 1 ;
|
|
250
|
+
:source "dock-sensor" .
|
|
251
|
+
|
|
252
|
+
MESSAGE
|
|
253
|
+
# Message 18: historical telemetry member 017, already committed by the checkpoint.
|
|
254
|
+
:telemetryStream tree:member :obs-017 .
|
|
255
|
+
|
|
256
|
+
:obs-017 a :ColdChainObservation ;
|
|
257
|
+
:sequence 17 ;
|
|
258
|
+
:observedAt "2026-05-12T13:51:00Z"^^xsd:dateTime ;
|
|
259
|
+
:batch :batchA ;
|
|
260
|
+
:temperatureTenthC 43 ;
|
|
261
|
+
:temperatureLabel "4.3°C" ;
|
|
262
|
+
:priority 1 ;
|
|
263
|
+
:source "warehouse-reader" .
|
|
264
|
+
|
|
265
|
+
MESSAGE
|
|
266
|
+
# Message 19: historical telemetry member 018, already committed by the checkpoint.
|
|
267
|
+
:telemetryStream tree:member :obs-018 .
|
|
268
|
+
|
|
269
|
+
:obs-018 a :ColdChainObservation ;
|
|
270
|
+
:sequence 18 ;
|
|
271
|
+
:observedAt "2026-05-12T13:54:00Z"^^xsd:dateTime ;
|
|
272
|
+
:batch :batchA ;
|
|
273
|
+
:temperatureTenthC 44 ;
|
|
274
|
+
:temperatureLabel "4.4°C" ;
|
|
275
|
+
:priority 1 ;
|
|
276
|
+
:source "truck-gateway" .
|
|
277
|
+
|
|
278
|
+
MESSAGE
|
|
279
|
+
# Message 20: historical telemetry member 019, already committed by the checkpoint.
|
|
280
|
+
:telemetryStream tree:member :obs-019 .
|
|
281
|
+
|
|
282
|
+
:obs-019 a :ColdChainObservation ;
|
|
283
|
+
:sequence 19 ;
|
|
284
|
+
:observedAt "2026-05-12T13:57:00Z"^^xsd:dateTime ;
|
|
285
|
+
:batch :batchA ;
|
|
286
|
+
:temperatureTenthC 45 ;
|
|
287
|
+
:temperatureLabel "4.5°C" ;
|
|
288
|
+
:priority 1 ;
|
|
289
|
+
:source "dock-sensor" .
|
|
290
|
+
|
|
291
|
+
MESSAGE
|
|
292
|
+
# Message 21: historical telemetry member 020, already committed by the checkpoint.
|
|
293
|
+
:telemetryStream tree:member :obs-020 .
|
|
294
|
+
|
|
295
|
+
:obs-020 a :ColdChainObservation ;
|
|
296
|
+
:sequence 20 ;
|
|
297
|
+
:observedAt "2026-05-12T14:00:00Z"^^xsd:dateTime ;
|
|
298
|
+
:batch :batchA ;
|
|
299
|
+
:temperatureTenthC 46 ;
|
|
300
|
+
:temperatureLabel "4.6°C" ;
|
|
301
|
+
:priority 1 ;
|
|
302
|
+
:source "warehouse-reader" .
|
|
303
|
+
|
|
304
|
+
MESSAGE
|
|
305
|
+
# Message 22: historical telemetry member 021, already committed by the checkpoint.
|
|
306
|
+
:telemetryStream tree:member :obs-021 .
|
|
307
|
+
|
|
308
|
+
:obs-021 a :ColdChainObservation ;
|
|
309
|
+
:sequence 21 ;
|
|
310
|
+
:observedAt "2026-05-12T14:03:00Z"^^xsd:dateTime ;
|
|
311
|
+
:batch :batchA ;
|
|
312
|
+
:temperatureTenthC 47 ;
|
|
313
|
+
:temperatureLabel "4.7°C" ;
|
|
314
|
+
:priority 1 ;
|
|
315
|
+
:source "truck-gateway" .
|
|
316
|
+
|
|
317
|
+
MESSAGE
|
|
318
|
+
# Message 23: historical telemetry member 022, already committed by the checkpoint.
|
|
319
|
+
:telemetryStream tree:member :obs-022 .
|
|
320
|
+
|
|
321
|
+
:obs-022 a :ColdChainObservation ;
|
|
322
|
+
:sequence 22 ;
|
|
323
|
+
:observedAt "2026-05-12T14:06:00Z"^^xsd:dateTime ;
|
|
324
|
+
:batch :batchA ;
|
|
325
|
+
:temperatureTenthC 48 ;
|
|
326
|
+
:temperatureLabel "4.8°C" ;
|
|
327
|
+
:priority 1 ;
|
|
328
|
+
:source "dock-sensor" .
|
|
329
|
+
|
|
330
|
+
MESSAGE
|
|
331
|
+
# Message 24: historical telemetry member 023, already committed by the checkpoint.
|
|
332
|
+
:telemetryStream tree:member :obs-023 .
|
|
333
|
+
|
|
334
|
+
:obs-023 a :ColdChainObservation ;
|
|
335
|
+
:sequence 23 ;
|
|
336
|
+
:observedAt "2026-05-12T14:09:00Z"^^xsd:dateTime ;
|
|
337
|
+
:batch :batchA ;
|
|
338
|
+
:temperatureTenthC 49 ;
|
|
339
|
+
:temperatureLabel "4.9°C" ;
|
|
340
|
+
:priority 1 ;
|
|
341
|
+
:source "warehouse-reader" .
|
|
342
|
+
|
|
343
|
+
MESSAGE
|
|
344
|
+
# Message 25: historical telemetry member 024, already committed by the checkpoint.
|
|
345
|
+
:telemetryStream tree:member :obs-024 .
|
|
346
|
+
|
|
347
|
+
:obs-024 a :ColdChainObservation ;
|
|
348
|
+
:sequence 24 ;
|
|
349
|
+
:observedAt "2026-05-12T14:12:00Z"^^xsd:dateTime ;
|
|
350
|
+
:batch :batchA ;
|
|
351
|
+
:temperatureTenthC 42 ;
|
|
352
|
+
:temperatureLabel "4.2°C" ;
|
|
353
|
+
:priority 1 ;
|
|
354
|
+
:source "truck-gateway" .
|
|
355
|
+
|
|
356
|
+
MESSAGE
|
|
357
|
+
# Message 26: historical telemetry member 025, already committed by the checkpoint.
|
|
358
|
+
:telemetryStream tree:member :obs-025 .
|
|
359
|
+
|
|
360
|
+
:obs-025 a :ColdChainObservation ;
|
|
361
|
+
:sequence 25 ;
|
|
362
|
+
:observedAt "2026-05-12T14:15:00Z"^^xsd:dateTime ;
|
|
363
|
+
:batch :batchA ;
|
|
364
|
+
:temperatureTenthC 43 ;
|
|
365
|
+
:temperatureLabel "4.3°C" ;
|
|
366
|
+
:priority 1 ;
|
|
367
|
+
:source "dock-sensor" .
|
|
368
|
+
|
|
369
|
+
MESSAGE
|
|
370
|
+
# Message 27: historical telemetry member 026, already committed by the checkpoint.
|
|
371
|
+
:telemetryStream tree:member :obs-026 .
|
|
372
|
+
|
|
373
|
+
:obs-026 a :ColdChainObservation ;
|
|
374
|
+
:sequence 26 ;
|
|
375
|
+
:observedAt "2026-05-12T14:18:00Z"^^xsd:dateTime ;
|
|
376
|
+
:batch :batchA ;
|
|
377
|
+
:temperatureTenthC 44 ;
|
|
378
|
+
:temperatureLabel "4.4°C" ;
|
|
379
|
+
:priority 1 ;
|
|
380
|
+
:source "warehouse-reader" .
|
|
381
|
+
|
|
382
|
+
MESSAGE
|
|
383
|
+
# Message 28: historical telemetry member 027, already committed by the checkpoint.
|
|
384
|
+
:telemetryStream tree:member :obs-027 .
|
|
385
|
+
|
|
386
|
+
:obs-027 a :ColdChainObservation ;
|
|
387
|
+
:sequence 27 ;
|
|
388
|
+
:observedAt "2026-05-12T14:21:00Z"^^xsd:dateTime ;
|
|
389
|
+
:batch :batchA ;
|
|
390
|
+
:temperatureTenthC 45 ;
|
|
391
|
+
:temperatureLabel "4.5°C" ;
|
|
392
|
+
:priority 1 ;
|
|
393
|
+
:source "truck-gateway" .
|
|
394
|
+
|
|
395
|
+
MESSAGE
|
|
396
|
+
# Message 29: historical telemetry member 028, already committed by the checkpoint.
|
|
397
|
+
:telemetryStream tree:member :obs-028 .
|
|
398
|
+
|
|
399
|
+
:obs-028 a :ColdChainObservation ;
|
|
400
|
+
:sequence 28 ;
|
|
401
|
+
:observedAt "2026-05-12T14:24:00Z"^^xsd:dateTime ;
|
|
402
|
+
:batch :batchA ;
|
|
403
|
+
:temperatureTenthC 46 ;
|
|
404
|
+
:temperatureLabel "4.6°C" ;
|
|
405
|
+
:priority 1 ;
|
|
406
|
+
:source "dock-sensor" .
|
|
407
|
+
|
|
408
|
+
MESSAGE
|
|
409
|
+
# Message 30: historical telemetry member 029, already committed by the checkpoint.
|
|
410
|
+
:telemetryStream tree:member :obs-029 .
|
|
411
|
+
|
|
412
|
+
:obs-029 a :ColdChainObservation ;
|
|
413
|
+
:sequence 29 ;
|
|
414
|
+
:observedAt "2026-05-12T14:27:00Z"^^xsd:dateTime ;
|
|
415
|
+
:batch :batchA ;
|
|
416
|
+
:temperatureTenthC 47 ;
|
|
417
|
+
:temperatureLabel "4.7°C" ;
|
|
418
|
+
:priority 1 ;
|
|
419
|
+
:source "warehouse-reader" .
|
|
420
|
+
|
|
421
|
+
MESSAGE
|
|
422
|
+
# Message 31: historical telemetry member 030, already committed by the checkpoint.
|
|
423
|
+
:telemetryStream tree:member :obs-030 .
|
|
424
|
+
|
|
425
|
+
:obs-030 a :ColdChainObservation ;
|
|
426
|
+
:sequence 30 ;
|
|
427
|
+
:observedAt "2026-05-12T15:30:00Z"^^xsd:dateTime ;
|
|
428
|
+
:batch :batchA ;
|
|
429
|
+
:temperatureTenthC 48 ;
|
|
430
|
+
:temperatureLabel "4.8°C" ;
|
|
431
|
+
:priority 1 ;
|
|
432
|
+
:source "truck-gateway" .
|
|
433
|
+
|
|
434
|
+
MESSAGE
|
|
435
|
+
# Message 32: historical telemetry member 031, already committed by the checkpoint.
|
|
436
|
+
:telemetryStream tree:member :obs-031 .
|
|
437
|
+
|
|
438
|
+
:obs-031 a :ColdChainObservation ;
|
|
439
|
+
:sequence 31 ;
|
|
440
|
+
:observedAt "2026-05-12T15:33:00Z"^^xsd:dateTime ;
|
|
441
|
+
:batch :batchA ;
|
|
442
|
+
:temperatureTenthC 49 ;
|
|
443
|
+
:temperatureLabel "4.9°C" ;
|
|
444
|
+
:priority 1 ;
|
|
445
|
+
:source "dock-sensor" .
|
|
446
|
+
|
|
447
|
+
MESSAGE
|
|
448
|
+
# Message 33: historical telemetry member 032, already committed by the checkpoint.
|
|
449
|
+
:telemetryStream tree:member :obs-032 .
|
|
450
|
+
|
|
451
|
+
:obs-032 a :ColdChainObservation ;
|
|
452
|
+
:sequence 32 ;
|
|
453
|
+
:observedAt "2026-05-12T15:36:00Z"^^xsd:dateTime ;
|
|
454
|
+
:batch :batchA ;
|
|
455
|
+
:temperatureTenthC 42 ;
|
|
456
|
+
:temperatureLabel "4.2°C" ;
|
|
457
|
+
:priority 1 ;
|
|
458
|
+
:source "warehouse-reader" .
|
|
459
|
+
|
|
460
|
+
MESSAGE
|
|
461
|
+
# Message 34: historical telemetry member 033, already committed by the checkpoint.
|
|
462
|
+
:telemetryStream tree:member :obs-033 .
|
|
463
|
+
|
|
464
|
+
:obs-033 a :ColdChainObservation ;
|
|
465
|
+
:sequence 33 ;
|
|
466
|
+
:observedAt "2026-05-12T15:39:00Z"^^xsd:dateTime ;
|
|
467
|
+
:batch :batchA ;
|
|
468
|
+
:temperatureTenthC 43 ;
|
|
469
|
+
:temperatureLabel "4.3°C" ;
|
|
470
|
+
:priority 1 ;
|
|
471
|
+
:source "truck-gateway" .
|
|
472
|
+
|
|
473
|
+
MESSAGE
|
|
474
|
+
# Message 35: historical telemetry member 034, already committed by the checkpoint.
|
|
475
|
+
:telemetryStream tree:member :obs-034 .
|
|
476
|
+
|
|
477
|
+
:obs-034 a :ColdChainObservation ;
|
|
478
|
+
:sequence 34 ;
|
|
479
|
+
:observedAt "2026-05-12T15:42:00Z"^^xsd:dateTime ;
|
|
480
|
+
:batch :batchA ;
|
|
481
|
+
:temperatureTenthC 44 ;
|
|
482
|
+
:temperatureLabel "4.4°C" ;
|
|
483
|
+
:priority 1 ;
|
|
484
|
+
:source "dock-sensor" .
|
|
485
|
+
|
|
486
|
+
MESSAGE
|
|
487
|
+
# Message 36: historical telemetry member 035, already committed by the checkpoint.
|
|
488
|
+
:telemetryStream tree:member :obs-035 .
|
|
489
|
+
|
|
490
|
+
:obs-035 a :ColdChainObservation ;
|
|
491
|
+
:sequence 35 ;
|
|
492
|
+
:observedAt "2026-05-12T15:45:00Z"^^xsd:dateTime ;
|
|
493
|
+
:batch :batchA ;
|
|
494
|
+
:temperatureTenthC 45 ;
|
|
495
|
+
:temperatureLabel "4.5°C" ;
|
|
496
|
+
:priority 1 ;
|
|
497
|
+
:source "warehouse-reader" .
|
|
498
|
+
|
|
499
|
+
MESSAGE
|
|
500
|
+
# Message 37: historical telemetry member 036, already committed by the checkpoint.
|
|
501
|
+
:telemetryStream tree:member :obs-036 .
|
|
502
|
+
|
|
503
|
+
:obs-036 a :ColdChainObservation ;
|
|
504
|
+
:sequence 36 ;
|
|
505
|
+
:observedAt "2026-05-12T15:48:00Z"^^xsd:dateTime ;
|
|
506
|
+
:batch :batchA ;
|
|
507
|
+
:temperatureTenthC 46 ;
|
|
508
|
+
:temperatureLabel "4.6°C" ;
|
|
509
|
+
:priority 1 ;
|
|
510
|
+
:source "truck-gateway" .
|
|
511
|
+
|
|
512
|
+
MESSAGE
|
|
513
|
+
# Message 38: historical telemetry member 037, already committed by the checkpoint.
|
|
514
|
+
:telemetryStream tree:member :obs-037 .
|
|
515
|
+
|
|
516
|
+
:obs-037 a :ColdChainObservation ;
|
|
517
|
+
:sequence 37 ;
|
|
518
|
+
:observedAt "2026-05-12T15:51:00Z"^^xsd:dateTime ;
|
|
519
|
+
:batch :batchA ;
|
|
520
|
+
:temperatureTenthC 47 ;
|
|
521
|
+
:temperatureLabel "4.7°C" ;
|
|
522
|
+
:priority 1 ;
|
|
523
|
+
:source "dock-sensor" .
|
|
524
|
+
|
|
525
|
+
MESSAGE
|
|
526
|
+
# Message 39: historical telemetry member 038, already committed by the checkpoint.
|
|
527
|
+
:telemetryStream tree:member :obs-038 .
|
|
528
|
+
|
|
529
|
+
:obs-038 a :ColdChainObservation ;
|
|
530
|
+
:sequence 38 ;
|
|
531
|
+
:observedAt "2026-05-12T15:54:00Z"^^xsd:dateTime ;
|
|
532
|
+
:batch :batchA ;
|
|
533
|
+
:temperatureTenthC 48 ;
|
|
534
|
+
:temperatureLabel "4.8°C" ;
|
|
535
|
+
:priority 1 ;
|
|
536
|
+
:source "warehouse-reader" .
|
|
537
|
+
|
|
538
|
+
MESSAGE
|
|
539
|
+
# Message 40: historical telemetry member 039, already committed by the checkpoint.
|
|
540
|
+
:telemetryStream tree:member :obs-039 .
|
|
541
|
+
|
|
542
|
+
:obs-039 a :ColdChainObservation ;
|
|
543
|
+
:sequence 39 ;
|
|
544
|
+
:observedAt "2026-05-12T15:57:00Z"^^xsd:dateTime ;
|
|
545
|
+
:batch :batchA ;
|
|
546
|
+
:temperatureTenthC 49 ;
|
|
547
|
+
:temperatureLabel "4.9°C" ;
|
|
548
|
+
:priority 1 ;
|
|
549
|
+
:source "truck-gateway" .
|
|
550
|
+
|
|
551
|
+
MESSAGE
|
|
552
|
+
# Message 41: historical telemetry member 040, already committed by the checkpoint.
|
|
553
|
+
:telemetryStream tree:member :obs-040 .
|
|
554
|
+
|
|
555
|
+
:obs-040 a :ColdChainObservation ;
|
|
556
|
+
:sequence 40 ;
|
|
557
|
+
:observedAt "2026-05-12T16:00:00Z"^^xsd:dateTime ;
|
|
558
|
+
:batch :batchA ;
|
|
559
|
+
:temperatureTenthC 42 ;
|
|
560
|
+
:temperatureLabel "4.2°C" ;
|
|
561
|
+
:priority 1 ;
|
|
562
|
+
:source "dock-sensor" .
|
|
563
|
+
|
|
564
|
+
MESSAGE
|
|
565
|
+
# Message 42: historical telemetry member 041, already committed by the checkpoint.
|
|
566
|
+
:telemetryStream tree:member :obs-041 .
|
|
567
|
+
|
|
568
|
+
:obs-041 a :ColdChainObservation ;
|
|
569
|
+
:sequence 41 ;
|
|
570
|
+
:observedAt "2026-05-12T16:03:00Z"^^xsd:dateTime ;
|
|
571
|
+
:batch :batchA ;
|
|
572
|
+
:temperatureTenthC 43 ;
|
|
573
|
+
:temperatureLabel "4.3°C" ;
|
|
574
|
+
:priority 1 ;
|
|
575
|
+
:source "warehouse-reader" .
|
|
576
|
+
|
|
577
|
+
MESSAGE
|
|
578
|
+
# Message 43: historical telemetry member 042, already committed by the checkpoint.
|
|
579
|
+
:telemetryStream tree:member :obs-042 .
|
|
580
|
+
|
|
581
|
+
:obs-042 a :ColdChainObservation ;
|
|
582
|
+
:sequence 42 ;
|
|
583
|
+
:observedAt "2026-05-12T16:06:00Z"^^xsd:dateTime ;
|
|
584
|
+
:batch :batchA ;
|
|
585
|
+
:temperatureTenthC 44 ;
|
|
586
|
+
:temperatureLabel "4.4°C" ;
|
|
587
|
+
:priority 1 ;
|
|
588
|
+
:source "truck-gateway" .
|
|
589
|
+
|
|
590
|
+
MESSAGE
|
|
591
|
+
# Message 44: new tail telemetry still within range.
|
|
592
|
+
:telemetryStream tree:member :obs-043 .
|
|
593
|
+
|
|
594
|
+
:obs-043 a :ColdChainObservation ;
|
|
595
|
+
:sequence 43 ;
|
|
596
|
+
:observedAt "2026-05-12T16:09:00Z"^^xsd:dateTime ;
|
|
597
|
+
:batch :batchA ;
|
|
598
|
+
:temperatureTenthC 45 ;
|
|
599
|
+
:temperatureLabel "4.5°C" ;
|
|
600
|
+
:priority 1 ;
|
|
601
|
+
:source "truck-gateway" .
|
|
602
|
+
|
|
603
|
+
MESSAGE
|
|
604
|
+
# Message 45: new tail telemetry still within range.
|
|
605
|
+
:telemetryStream tree:member :obs-044 .
|
|
606
|
+
|
|
607
|
+
:obs-044 a :ColdChainObservation ;
|
|
608
|
+
:sequence 44 ;
|
|
609
|
+
:observedAt "2026-05-12T16:12:00Z"^^xsd:dateTime ;
|
|
610
|
+
:batch :batchA ;
|
|
611
|
+
:temperatureTenthC 46 ;
|
|
612
|
+
:temperatureLabel "4.6°C" ;
|
|
613
|
+
:priority 1 ;
|
|
614
|
+
:source "dock-sensor" .
|
|
615
|
+
|
|
616
|
+
MESSAGE
|
|
617
|
+
# Message 46: new tail telemetry still within range.
|
|
618
|
+
:telemetryStream tree:member :obs-045 .
|
|
619
|
+
|
|
620
|
+
:obs-045 a :ColdChainObservation ;
|
|
621
|
+
:sequence 45 ;
|
|
622
|
+
:observedAt "2026-05-12T16:15:00Z"^^xsd:dateTime ;
|
|
623
|
+
:batch :batchA ;
|
|
624
|
+
:temperatureTenthC 47 ;
|
|
625
|
+
:temperatureLabel "4.7°C" ;
|
|
626
|
+
:priority 1 ;
|
|
627
|
+
:source "warehouse-reader" .
|
|
628
|
+
|
|
629
|
+
MESSAGE
|
|
630
|
+
# Message 47: new tail telemetry reports a temperature excursion.
|
|
631
|
+
:telemetryStream tree:member :obs-046 .
|
|
632
|
+
|
|
633
|
+
:obs-046 a :ColdChainObservation ;
|
|
634
|
+
:sequence 46 ;
|
|
635
|
+
:observedAt "2026-05-12T16:18:00Z"^^xsd:dateTime ;
|
|
636
|
+
:batch :batchA ;
|
|
637
|
+
:temperatureTenthC 121 ;
|
|
638
|
+
:temperatureLabel "12.1°C" ;
|
|
639
|
+
:priority 2 ;
|
|
640
|
+
:source "truck-gateway" .
|
|
641
|
+
|
|
642
|
+
MESSAGE
|
|
643
|
+
# Message 48: calibrated logger reports the excursion used for repair.
|
|
644
|
+
:telemetryStream tree:member :obs-047 .
|
|
645
|
+
|
|
646
|
+
:obs-047 a :ColdChainObservation ;
|
|
647
|
+
:sequence 47 ;
|
|
648
|
+
:observedAt "2026-05-12T16:21:00Z"^^xsd:dateTime ;
|
|
649
|
+
:batch :batchA ;
|
|
650
|
+
:temperatureTenthC 118 ;
|
|
651
|
+
:temperatureLabel "11.8°C" ;
|
|
652
|
+
:priority 5 ;
|
|
653
|
+
:source "calibrated-cold-chain-logger" ;
|
|
654
|
+
:calibrationClass :calibratedLogger .
|
|
655
|
+
|
|
656
|
+
MESSAGE
|
|
657
|
+
# Message 49: new tail telemetry still within range.
|
|
658
|
+
:telemetryStream tree:member :obs-048 .
|
|
659
|
+
|
|
660
|
+
:obs-048 a :ColdChainObservation ;
|
|
661
|
+
:sequence 48 ;
|
|
662
|
+
:observedAt "2026-05-12T16:24:00Z"^^xsd:dateTime ;
|
|
663
|
+
:batch :batchA ;
|
|
664
|
+
:temperatureTenthC 44 ;
|
|
665
|
+
:temperatureLabel "4.4°C" ;
|
|
666
|
+
:priority 1 ;
|
|
667
|
+
:source "door-proximity-sensor" .
|
|
668
|
+
|
|
@@ -6,6 +6,9 @@
|
|
|
6
6
|
#
|
|
7
7
|
# eyeling -r examples/rdf-message-flow.n3 examples/input/rdf-message-flow.trig
|
|
8
8
|
#
|
|
9
|
+
# See the handbook section on RDF Message Log replay under -r:
|
|
10
|
+
# https://eyereasoner.github.io/eyeling/HANDBOOK#rdf-message-log-replay-under--r
|
|
11
|
+
#
|
|
9
12
|
# It is a parser-level RDF Message Log using the RDF 1.2 Messages draft syntax:
|
|
10
13
|
# VERSION "1.2-messages" selects message-log parsing and MESSAGE delimiters
|
|
11
14
|
# separate the ordered RDF Messages. Eyeling replays this log internally by
|