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",
10 "associationCount": 0,
15 "http://www.example.org/something/",
16 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter5.ctm#topic"
18 "subjectIdentifiers": [
19 "http://www.example.org/something/"
22 "http://www.example.org/something/"
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",
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",
45 "associationCount": 0,
50 "http://www.example.org/something",
51 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#topic"
53 "subjectIdentifiers": [
54 "http://www.example.org/something"
57 "http://www.example.org/something"
62 "value": "http://www.example.org/something",
63 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
73 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-ambiguous-parameter6.ctm#occ"
75 "subjectIdentifiers": [],
76 "subjectLocators": [],
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",
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",
98 "associationCount": 0,
103 "https://ctm-tests.example.invalid/cd165b150176c1d6842b37be9cc9051b40d4996b/ctm/in/template-subject-identifier2.ctm#topic"
105 "subjectIdentifiers": [
106 "http://psi.example.org/fake"
108 "subjectLocators": [],
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",
119 "expectedBytes": 204,
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",
130 "associationCount": 0,
134 "itemIdentifiers": [],
135 "subjectIdentifiers": [
136 "http://www.example.org/entity"
138 "subjectLocators": [],
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",
149 "expectedBytes": null,
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",
160 "associationCount": 0,
165 "http://www.example.org/entity"
167 "subjectIdentifiers": [],
168 "subjectLocators": [],
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",
179 "expectedBytes": null,
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",
190 "associationCount": 0,
194 "itemIdentifiers": [],
195 "subjectIdentifiers": [],
197 "http://www.example.org/entity"
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",
209 "expectedBytes": null,
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",
220 "associationCount": 1,
225 "http://www.example.org/entity",
226 "https://example.invalid/slice20i/control.ctm#holder"
228 "subjectIdentifiers": [
229 "http://www.example.org/entity"
232 "http://www.example.org/entity"
237 "value": "http://www.example.org/entity",
238 "datatype": "http://www.w3.org/2001/XMLSchema#anyURI",
248 "https://example.invalid/slice20i/control.ctm#occ"
250 "subjectIdentifiers": [],
251 "subjectLocators": [],
260 "http://www.example.org/entity"
265 "http://www.example.org/entity"
268 "http://www.example.org/entity"
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",
278 "expectedBytes": null,
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",
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",
293 "positionUnit": "character",
294 "source": "unmarked-tail-even-without-invocation",
299 "associations": null,
300 "referencesCurrent": false,
301 "canonicalizationPreservesMap": false,
304 "expectedBytes": null,
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",
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",
319 "positionUnit": "character",
320 "source": "item-identifier-cannot-be-literal",
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))"
325 "associations": null,
326 "referencesCurrent": false,
327 "canonicalizationPreservesMap": false,
330 "expectedBytes": null,
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",
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",
345 "positionUnit": "character",
346 "source": "subject-locator-cannot-be-literal",
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))"
351 "associations": null,
352 "referencesCurrent": false,
353 "canonicalizationPreservesMap": false,
356 "expectedBytes": null,
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",
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",
371 "positionUnit": "character",
372 "source": "second-item-identifier-in-IRI-slot",
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))"
377 "associations": null,
378 "referencesCurrent": false,
379 "canonicalizationPreservesMap": false,
382 "expectedBytes": null,
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",
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",
397 "positionUnit": "character",
398 "source": "second-subject-locator-in-IRI-slot",
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))"
403 "associations": null,
404 "referencesCurrent": false,
405 "canonicalizationPreservesMap": false,
408 "expectedBytes": null,