]> dreyeck.freedombox.rocks Git - topic-maps.git/blob - reports/slice-20j/observed-controls.json
test(xtm): register variant item-identity merge original
[topic-maps.git] / reports / slice-20j / observed-controls.json
1 [
2 {
3 "label": "expanded-ambiguous5",
4 "originalControlOnly": "ctm/in/template-ambiguous-parameter5.ctm",
5 "sourceText": "topic <http://www.example.org/something/>; =<http://www.example.org/something/>; ^<http://www.example.org/something/>.",
6 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm",
7 "condition": null,
8 "model": {
9 "topicCount": 1,
10 "associationCount": 0,
11 "topics": [
12 {
13 "ordinal": 1,
14 "itemIdentifiers": [
15 "http://www.example.org/something/",
16 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm#topic"
17 ],
18 "subjectIdentifiers": [
19 "http://www.example.org/something/"
20 ],
21 "subjectLocators": [
22 "http://www.example.org/something/"
23 ],
24 "names": [],
25 "occurrences": []
26 }
27 ]
28 },
29 "associations": [],
30 "referencesCurrent": true,
31 "canonicalizationPreservesMap": true,
32 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something/</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something/</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something/</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
33 "actualBytes": 353,
34 "expectedBytes": 353,
35 "byteExact": true
36 },
37 {
38 "label": "expanded-ambiguous6",
39 "originalControlOnly": "ctm/in/template-ambiguous-parameter6.ctm",
40 "sourceText": "%prefix ex <http://www.example.org/> topic ex:something; =ex:something; ^ex:something; occ: ex:something.",
41 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm",
42 "condition": null,
43 "model": {
44 "topicCount": 2,
45 "associationCount": 0,
46 "topics": [
47 {
48 "ordinal": 1,
49 "itemIdentifiers": [
50 "http://www.example.org/something",
51 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#topic"
52 ],
53 "subjectIdentifiers": [
54 "http://www.example.org/something"
55 ],
56 "subjectLocators": [
57 "http://www.example.org/something"
58 ],
59 "names": [],
60 "occurrences": [
61 {
62 "value": "http://www.example.org/something",
63 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
64 "parent": 1,
65 "type": 2,
66 "scope": []
67 }
68 ]
69 },
70 {
71 "ordinal": 2,
72 "itemIdentifiers": [
73 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#occ"
74 ],
75 "subjectIdentifiers": [],
76 "subjectLocators": [],
77 "names": [],
78 "occurrences": []
79 }
80 ]
81 },
82 "associations": [],
83 "referencesCurrent": true,
84 "canonicalizationPreservesMap": true,
85 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/something</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/something</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#topic</locator>\n<locator>http://www.example.org/something</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/something</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n</topic>\n</topicMap>\n",
86 "actualBytes": 613,
87 "expectedBytes": 613,
88 "byteExact": true
89 },
90 {
91 "label": "expanded-subject-identifier2",
92 "originalControlOnly": "ctm/in/template-subject-identifier2.ctm",
93 "sourceText": "topic <http://psi.example.org/fake>.",
94 "documentIRI": "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm",
95 "condition": null,
96 "model": {
97 "topicCount": 1,
98 "associationCount": 0,
99 "topics": [
100 {
101 "ordinal": 1,
102 "itemIdentifiers": [
103 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm#topic"
104 ],
105 "subjectIdentifiers": [
106 "http://psi.example.org/fake"
107 ],
108 "subjectLocators": [],
109 "names": [],
110 "occurrences": []
111 }
112 ]
113 },
114 "associations": [],
115 "referencesCurrent": true,
116 "canonicalizationPreservesMap": true,
117 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://psi.example.org/fake</locator>\n</subjectIdentifiers>\n<itemIdentifiers>\n<locator>#topic</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
118 "actualBytes": 204,
119 "expectedBytes": 204,
120 "byteExact": true
121 },
122 {
123 "label": "head-variable-IRI",
124 "originalControlOnly": null,
125 "sourceText": "def t($v) $v. end t(<http://www.example.org/entity>)",
126 "documentIRI": "https://example.invalid/slice20i/control.ctm",
127 "condition": null,
128 "model": {
129 "topicCount": 1,
130 "associationCount": 0,
131 "topics": [
132 {
133 "ordinal": 1,
134 "itemIdentifiers": [],
135 "subjectIdentifiers": [
136 "http://www.example.org/entity"
137 ],
138 "subjectLocators": [],
139 "names": [],
140 "occurrences": []
141 }
142 ]
143 },
144 "associations": [],
145 "referencesCurrent": true,
146 "canonicalizationPreservesMap": true,
147 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectIdentifiers>\n<locator>http://www.example.org/entity</locator>\n</subjectIdentifiers>\n</topic>\n</topicMap>\n",
148 "actualBytes": 143,
149 "expectedBytes": null,
150 "byteExact": false
151 },
152 {
153 "label": "head-variable-item-identifier",
154 "originalControlOnly": null,
155 "sourceText": "def t($v) $v. end t(^<http://www.example.org/entity>)",
156 "documentIRI": "https://example.invalid/slice20i/control.ctm",
157 "condition": null,
158 "model": {
159 "topicCount": 1,
160 "associationCount": 0,
161 "topics": [
162 {
163 "ordinal": 1,
164 "itemIdentifiers": [
165 "http://www.example.org/entity"
166 ],
167 "subjectIdentifiers": [],
168 "subjectLocators": [],
169 "names": [],
170 "occurrences": []
171 }
172 ]
173 },
174 "associations": [],
175 "referencesCurrent": true,
176 "canonicalizationPreservesMap": true,
177 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>http://www.example.org/entity</locator>\n</itemIdentifiers>\n</topic>\n</topicMap>\n",
178 "actualBytes": 137,
179 "expectedBytes": null,
180 "byteExact": false
181 },
182 {
183 "label": "head-variable-subject-locator",
184 "originalControlOnly": null,
185 "sourceText": "def t($v) $v. end t(=<http://www.example.org/entity>)",
186 "documentIRI": "https://example.invalid/slice20i/control.ctm",
187 "condition": null,
188 "model": {
189 "topicCount": 1,
190 "associationCount": 0,
191 "topics": [
192 {
193 "ordinal": 1,
194 "itemIdentifiers": [],
195 "subjectIdentifiers": [],
196 "subjectLocators": [
197 "http://www.example.org/entity"
198 ],
199 "names": [],
200 "occurrences": []
201 }
202 ]
203 },
204 "associations": [],
205 "referencesCurrent": true,
206 "canonicalizationPreservesMap": true,
207 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<subjectLocators>\n<locator>http://www.example.org/entity</locator>\n</subjectLocators>\n</topic>\n</topicMap>\n",
208 "actualBytes": 137,
209 "expectedBytes": null,
210 "byteExact": false
211 },
212 {
213 "label": "IRI-variable-in-explicit-identities-type-player-and-literal",
214 "originalControlOnly": null,
215 "sourceText": "def t($v) $v. holder =$v; ^$v; occ: $v. $v($v : $v) end t(<http://www.example.org/entity>)",
216 "documentIRI": "https://example.invalid/slice20i/control.ctm",
217 "condition": null,
218 "model": {
219 "topicCount": 2,
220 "associationCount": 1,
221 "topics": [
222 {
223 "ordinal": 1,
224 "itemIdentifiers": [
225 "http://www.example.org/entity",
226 "https://example.invalid/slice20i/control.ctm#holder"
227 ],
228 "subjectIdentifiers": [
229 "http://www.example.org/entity"
230 ],
231 "subjectLocators": [
232 "http://www.example.org/entity"
233 ],
234 "names": [],
235 "occurrences": [
236 {
237 "value": "http://www.example.org/entity",
238 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
239 "parent": 1,
240 "type": 2,
241 "scope": []
242 }
243 ]
244 },
245 {
246 "ordinal": 2,
247 "itemIdentifiers": [
248 "https://example.invalid/slice20i/control.ctm#occ"
249 ],
250 "subjectIdentifiers": [],
251 "subjectLocators": [],
252 "names": [],
253 "occurrences": []
254 }
255 ]
256 },
257 "associations": [
258 {
259 "typeSI": [
260 "http://www.example.org/entity"
261 ],
262 "roles": [
263 {
264 "typeSI": [
265 "http://www.example.org/entity"
266 ],
267 "playerSI": [
268 "http://www.example.org/entity"
269 ]
270 }
271 ]
272 }
273 ],
274 "referencesCurrent": true,
275 "canonicalizationPreservesMap": true,
276 "actualCXTM": "<topicMap>\n<topic number=\"1\">\n<itemIdentifiers>\n<locator>#occ</locator>\n</itemIdentifiers>\n</topic>\n<topic number=\"2\">\n<subjectIdentifiers>\n<locator>http://www.example.org/entity</locator>\n</subjectIdentifiers>\n<subjectLocators>\n<locator>http://www.example.org/entity</locator>\n</subjectLocators>\n<itemIdentifiers>\n<locator>#holder</locator>\n<locator>http://www.example.org/entity</locator>\n</itemIdentifiers>\n<occurrence number=\"1\">\n<value>http://www.example.org/entity</value>\n<datatype>http://www.w3.org/2001/XMLSchema#anyURI</datatype>\n<type topicref=\"1\"></type>\n</occurrence>\n<rolePlayed ref=\"association.1.role.1\"></rolePlayed>\n</topic>\n<association number=\"1\">\n<type topicref=\"2\"></type>\n<role number=\"1\">\n<player topicref=\"2\"></player>\n<type topicref=\"2\"></type>\n</role>\n</association>\n</topicMap>\n",
277 "actualBytes": 806,
278 "expectedBytes": null,
279 "byteExact": false
280 },
281 {
282 "label": "unmarked-tail-even-without-invocation",
283 "originalControlOnly": null,
284 "sourceText": "def t($v) topic $v. end",
285 "documentIRI": "https://example.invalid/slice20i/control.ctm",
286 "condition": {
287 "condition": "INVALID-TEMPLATE-BODY",
288 "message": "TEMPLATE-IDENTITY-TAIL in unmarked-tail-even-without-invocation at CHARACTER 18 (line 1, column 19): Unmarked variable identities in Topic Tails remain outside the supported grammar.",
289 "code": "template-identity-tail",
290 "position": 18,
291 "line": 1,
292 "column": 19,
293 "positionUnit": "character",
294 "source": "unmarked-tail-even-without-invocation",
295 "cause": null,
296 "context": null
297 },
298 "model": null,
299 "associations": null,
300 "referencesCurrent": false,
301 "canonicalizationPreservesMap": false,
302 "actualCXTM": null,
303 "actualBytes": null,
304 "expectedBytes": null,
305 "byteExact": false
306 },
307 {
308 "label": "item-identifier-cannot-be-literal",
309 "originalControlOnly": null,
310 "sourceText": "def t($v) topic occ: $v. end t(^<http://www.example.org/entity>)",
311 "documentIRI": "https://example.invalid/slice20i/control.ctm",
312 "condition": {
313 "condition": "INVALID-TEMPLATE-ARGUMENT",
314 "message": "INVALID-TEMPLATE-ARGUMENT in item-identifier-cannot-be-literal at CHARACTER 21 (line 1, column 22): The bound argument cannot be used as a literal.",
315 "code": "invalid-template-argument",
316 "position": 21,
317 "line": 1,
318 "column": 22,
319 "positionUnit": "character",
320 "source": "item-identifier-cannot-be-literal",
321 "cause": null,
322 "context": "((NAME t DEFINITION-POSITION 0 INVOCATION-POSITION 29 DEFINITION-SOURCE\n item-identifier-cannot-be-literal DEFINITION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm INVOCATION-SOURCE\n item-identifier-cannot-be-literal INVOCATION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm))"
323 },
324 "model": null,
325 "associations": null,
326 "referencesCurrent": false,
327 "canonicalizationPreservesMap": false,
328 "actualCXTM": null,
329 "actualBytes": null,
330 "expectedBytes": null,
331 "byteExact": false
332 },
333 {
334 "label": "subject-locator-cannot-be-literal",
335 "originalControlOnly": null,
336 "sourceText": "def t($v) topic occ: $v. end t(=<http://www.example.org/entity>)",
337 "documentIRI": "https://example.invalid/slice20i/control.ctm",
338 "condition": {
339 "condition": "INVALID-TEMPLATE-ARGUMENT",
340 "message": "INVALID-TEMPLATE-ARGUMENT in subject-locator-cannot-be-literal at CHARACTER 21 (line 1, column 22): The bound argument cannot be used as a literal.",
341 "code": "invalid-template-argument",
342 "position": 21,
343 "line": 1,
344 "column": 22,
345 "positionUnit": "character",
346 "source": "subject-locator-cannot-be-literal",
347 "cause": null,
348 "context": "((NAME t DEFINITION-POSITION 0 INVOCATION-POSITION 29 DEFINITION-SOURCE\n subject-locator-cannot-be-literal DEFINITION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm INVOCATION-SOURCE\n subject-locator-cannot-be-literal INVOCATION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm))"
349 },
350 "model": null,
351 "associations": null,
352 "referencesCurrent": false,
353 "canonicalizationPreservesMap": false,
354 "actualCXTM": null,
355 "actualBytes": null,
356 "expectedBytes": null,
357 "byteExact": false
358 },
359 {
360 "label": "second-item-identifier-in-IRI-slot",
361 "originalControlOnly": null,
362 "sourceText": "def t($a,$b) topic1 ^$a. topic2 ^$b. end t(<http://www.example.org/>,^<http://www.example.org/>)",
363 "documentIRI": "https://example.invalid/slice20i/control.ctm",
364 "condition": {
365 "condition": "INVALID-TEMPLATE-ARGUMENT",
366 "message": "INVALID-TEMPLATE-ARGUMENT in second-item-identifier-in-IRI-slot at CHARACTER 33 (line 1, column 34): The bound argument cannot be used as an IRI after = or ^.",
367 "code": "invalid-template-argument",
368 "position": 33,
369 "line": 1,
370 "column": 34,
371 "positionUnit": "character",
372 "source": "second-item-identifier-in-IRI-slot",
373 "cause": null,
374 "context": "((NAME t DEFINITION-POSITION 0 INVOCATION-POSITION 41 DEFINITION-SOURCE\n second-item-identifier-in-IRI-slot DEFINITION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm INVOCATION-SOURCE\n second-item-identifier-in-IRI-slot INVOCATION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm))"
375 },
376 "model": null,
377 "associations": null,
378 "referencesCurrent": false,
379 "canonicalizationPreservesMap": false,
380 "actualCXTM": null,
381 "actualBytes": null,
382 "expectedBytes": null,
383 "byteExact": false
384 },
385 {
386 "label": "second-subject-locator-in-IRI-slot",
387 "originalControlOnly": null,
388 "sourceText": "def t($a,$b) topic1 =$a. topic2 =$b. end t(<http://www.example.org/>,=<http://www.example.org/>)",
389 "documentIRI": "https://example.invalid/slice20i/control.ctm",
390 "condition": {
391 "condition": "INVALID-TEMPLATE-ARGUMENT",
392 "message": "INVALID-TEMPLATE-ARGUMENT in second-subject-locator-in-IRI-slot at CHARACTER 33 (line 1, column 34): The bound argument cannot be used as an IRI after = or ^.",
393 "code": "invalid-template-argument",
394 "position": 33,
395 "line": 1,
396 "column": 34,
397 "positionUnit": "character",
398 "source": "second-subject-locator-in-IRI-slot",
399 "cause": null,
400 "context": "((NAME t DEFINITION-POSITION 0 INVOCATION-POSITION 41 DEFINITION-SOURCE\n second-subject-locator-in-IRI-slot DEFINITION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm INVOCATION-SOURCE\n second-subject-locator-in-IRI-slot INVOCATION-DOCUMENT-IRI\n https://example.invalid/slice20i/control.ctm))"
401 },
402 "model": null,
403 "associations": null,
404 "referencesCurrent": false,
405 "canonicalizationPreservesMap": false,
406 "actualCXTM": null,
407 "actualBytes": null,
408 "expectedBytes": null,
409 "byteExact": false
410 }
411 ]