summaryrefslogtreecommitdiff
path: root/test/jsonld/1.1/html-manifest.jsonld
blob: 92cffd6928d8fb9354559f297dbe099f228c0588 (plain)
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
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
{
  "@context": ["context.jsonld", {"@base": "html-manifest"}],
  "@id": "",
  "@type": "mf:Manifest",
  "name": "HTML",
  "description": "These tests implement the requirements for the JSON-LD [HTML Content Algorithms](https://www.w3.org/TR/json-ld11-api/#html-content-algorithms).",
  "baseIri": "https://w3c.github.io/json-ld-api/tests/",
  "sequence": [{
    "@id": "#te001",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/e001-in.html",
    "expect": "html/e001-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tex01",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element (xhtml)",
    "purpose": "Tests embedded JSON-LD in XHTML",
    "input": "html/e001-in.html",
    "expect": "html/e001-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "contentType": "application/xhtml+xml",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te002",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands first embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/e002-in.html",
    "expect": "html/e002-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te003",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands targeted JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier",
    "input": "html/e003-in.html#second",
    "expect": "html/e003-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te004",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands all embedded JSON-LD script elements with extractAllScripts option",
    "purpose": "Tests embedded JSON-LD in HTML extracting all elements",
    "input": "html/e004-in.html",
    "expect": "html/e004-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te005",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands multiple embedded JSON-LD script elements where one is an array",
    "purpose": "Tests embedded JSON-LD in HTML extracting all elements with array",
    "input": "html/e005-in.html",
    "expect": "html/e005-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te006",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands as empty with no embedded JSON-LD script elements",
    "purpose": "Tests embedded JSON-LD in HTML when none exist",
    "input": "html/e006-in.html",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te007",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands as empty with no embedded JSON-LD script elements and extractAllScripts",
    "purpose": "Tests embedded JSON-LD in HTML when none exist extracting all elements",
    "input": "html/e007-in.html",
    "expect": "html/e007-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te010",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element with HTML character references",
    "purpose": "Tests embedded JSON-LD in HTML with character references",
    "input": "html/e010-in.html",
    "expect": "html/e010-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te011",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if no element found at target",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist",
    "input": "html/e011-in.html#third",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te012",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if targeted element is not a script element",
    "purpose": "Tests embedded JSON-LD in HTML which isn't a script element",
    "input": "html/e012-in.html#first",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te013",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if targeted element does not have type application/ld+json",
    "purpose": "Tests embedded JSON-LD in HTML with wrong type",
    "input": "html/e013-in.html#first",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te014",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if uncommented script text contains comment",
    "purpose": "Tests embedded JSON-LD in HTML with comments leftover",
    "input": "html/e014-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te015",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if end comment missing",
    "purpose": "Tests embedded JSON-LD in HTML with unballanced comments",
    "input": "html/e015-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te016",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if start comment missing",
    "purpose": "Tests embedded JSON-LD in HTML with unballanced comments",
    "input": "html/e016-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te017",
    "@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Errors if uncommented script is not valid JSON",
    "purpose": "Tests embedded JSON-LD in HTML which is invalid JSON",
    "input": "html/e017-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te018",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to document base",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/e018-in.html",
    "expect": "html/e018-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#te019",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to base option",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/e019-in.html",
    "expect": "html/e019-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "base": "http://a.example.com/doc",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te020",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to HTML base",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/e020-in.html",
    "expect": "html/e020-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "base": "http://a.example.com/doc",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te021",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to relative HTML base",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/e021-in.html",
    "expect": "html/e021-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "base": "http://a.example.com/doc",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#te022",
    "@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest", "jld:HtmlTest"],
    "name": "Expands targeted JSON-LD script element with fragment and HTML base",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier",
    "input": "html/e022-in.html#second",
    "expect": "html/e022-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tc001",
    "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"],
    "name": "Compacts embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/c001-in.html",
    "context": "html/c001-context.jsonld",
    "expect": "html/c001-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tc002",
    "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"],
    "name": "Compacts first embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/c002-in.html",
    "context": "html/c002-context.jsonld",
    "expect": "html/c002-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tc003",
    "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"],
    "name": "Compacts targeted JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier",
    "input": "html/c003-in.html#second",
    "context": "html/c003-context.jsonld",
    "expect": "html/c003-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tc004",
    "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest", "jld:HtmlTest"],
    "name": "Compacts all embedded JSON-LD script elements with extractAllScripts option",
    "purpose": "Tests embedded JSON-LD in HTML extracting all elements",
    "input": "html/c004-in.html",
    "context": "html/c004-context.jsonld",
    "expect": "html/c004-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tf001",
    "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"],
    "name": "Flattens embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/f001-in.html",
    "context": "html/f001-context.jsonld",
    "expect": "html/f001-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tf002",
    "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"],
    "name": "Flattens first embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/f002-in.html",
    "context": "html/f002-context.jsonld",
    "expect": "html/f002-out.jsonld",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": false,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tf003",
    "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"],
    "name": "Flattens targeted JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier",
    "input": "html/f003-in.html#second",
    "context": "html/f003-context.jsonld",
    "expect": "html/f003-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tf004",
    "@type": ["jld:PositiveEvaluationTest", "jld:FlattenTest", "jld:HtmlTest"],
    "name": "Flattens all script elements by default",
    "purpose": "Tests embedded JSON-LD in HTML multiple script elements",
    "input": "html/f004-in.html",
    "context": "html/f004-context.jsonld",
    "expect": "html/f004-out.jsonld",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr001",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Transforms embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/r001-in.html",
    "expect": "html/r001-out.nq",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr002",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Transforms first embedded JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/r002-in.html",
    "expect": "html/r002-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": false,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr003",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Transforms targeted JSON-LD script element",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier",
    "input": "html/r003-in.html#second",
    "expect": "html/r003-out.nq",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr004",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands all embedded JSON-LD script elements with extractAllScripts option",
    "purpose": "Tests embedded JSON-LD in HTML extracting all elements",
    "input": "html/r004-in.html",
    "expect": "html/r004-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr005",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands multiple embedded JSON-LD script elements where one is an array",
    "purpose": "Tests embedded JSON-LD in HTML extracting all elements with array",
    "input": "html/r005-in.html",
    "expect": "html/r005-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr006",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands as empty with no embedded JSON-LD script elements",
    "purpose": "Tests embedded JSON-LD in HTML when none exist",
    "input": "html/r006-in.html",
    "expect": "html/r006-out.nq",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr007",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands as empty with no embedded JSON-LD script elements and extractAllScripts",
    "purpose": "Tests embedded JSON-LD in HTML when none exist extracting all elements",
    "input": "html/r007-in.html",
    "expect": "html/r007-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "extractAllScripts": true,
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr010",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element with HTML character references",
    "purpose": "Tests embedded JSON-LD in HTML with character references",
    "input": "html/r010-in.html",
    "expect": "html/r010-out.nq",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr011",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if no element found at target",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier that doesn't exist",
    "input": "html/r011-in.html#third",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr012",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if targeted element is not a script element",
    "purpose": "Tests embedded JSON-LD in HTML which isn't a script element",
    "input": "html/r012-in.html#first",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr013",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if targeted element does not have type application/ld+json",
    "purpose": "Tests embedded JSON-LD in HTML with wrong type",
    "input": "html/r013-in.html#first",
    "expectErrorCode": "loading document failed",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr014",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if uncommented script text contains comment",
    "purpose": "Tests embedded JSON-LD in HTML with comments leftover",
    "input": "html/r014-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr015",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if end comment missing",
    "purpose": "Tests embedded JSON-LD in HTML with unballanced comments",
    "input": "html/r015-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr016",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if start comment missing",
    "purpose": "Tests embedded JSON-LD in HTML with unballanced comments",
    "input": "html/r016-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr017",
    "@type": ["jld:NegativeEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Errors if uncommented script is not valid JSON",
    "purpose": "Tests embedded JSON-LD in HTML which is invalid JSON",
    "input": "html/r017-in.html",
    "expectErrorCode": "invalid script element",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr018",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to document base",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/r018-in.html",
    "expect": "html/r018-out.nq",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }, {
    "@id": "#tr019",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to base option",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/r019-in.html",
    "expect": "html/r019-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "base": "http://a.example.com/doc",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr020",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to HTML base",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/r020-in.html",
    "expect": "html/r020-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "base": "http://a.example.com/doc",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr021",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands embedded JSON-LD script element relative to relative HTML base",
    "purpose": "Tests embedded JSON-LD in HTML",
    "input": "html/r021-in.html",
    "expect": "html/r021-out.nq",
    "option": {
      "specVersion": "json-ld-1.1",
      "base": "http://a.example.com/doc",
      "processorFeature": "HTML Script Extraction"
    }
  }, {
    "@id": "#tr022",
    "@type": ["jld:PositiveEvaluationTest", "jld:ToRDFTest", "jld:HtmlTest"],
    "name": "Expands targeted JSON-LD script element with fragment and HTML base",
    "purpose": "Tests embedded JSON-LD in HTML with fragment identifier",
    "input": "html/r022-in.html#second",
    "expect": "html/r022-out.nq",
    "option": {"specVersion": "json-ld-1.1", "processorFeature": "HTML Script Extraction"}
  }]
}