-
Notifications
You must be signed in to change notification settings - Fork 34
/
Copy pathexpand-manifest.jsonld
2984 lines (2984 loc) · 133 KB
/
expand-manifest.jsonld
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
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"@context": ["context.jsonld", {"@base": "expand-manifest"}],
"@id": "",
"@type": "mf:Manifest",
"name": "Expansion",
"description": "These tests implement the requirements for the JSON-LD [Expansion Algorithm](https://www.w3.org/TR/json-ld11-api/#expansion-algorithm).",
"baseIri": "https://w3c.github.io/json-ld-api/tests/",
"sequence": [
{
"@id": "#t0001",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "drop free-floating nodes",
"purpose": "Expand drops unreferenced nodes having only @id",
"input": "expand/0001-in.jsonld",
"expect": "expand/0001-out.jsonld"
}, {
"@id": "#t0002",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "basic",
"purpose": "Expanding terms with different types of values",
"input": "expand/0002-in.jsonld",
"expect": "expand/0002-out.jsonld"
}, {
"@id": "#t0003",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "drop null and unmapped properties",
"purpose": "Verifies that null values and unmapped properties are removed from expanded output",
"input": "expand/0003-in.jsonld",
"expect": "expand/0003-out.jsonld"
}, {
"@id": "#t0004",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "optimize @set, keep empty arrays",
"purpose": "Uses of @set are removed in expansion; values of @set, or just plain values which are empty arrays are retained",
"input": "expand/0004-in.jsonld",
"expect": "expand/0004-out.jsonld"
}, {
"@id": "#t0005",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "do not expand aliased @id/@type",
"purpose": "If a keyword is aliased, it is not used when expanding",
"input": "expand/0005-in.jsonld",
"expect": "expand/0005-out.jsonld"
}, {
"@id": "#t0006",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "alias keywords",
"purpose": "Aliased keywords expand in resulting document",
"input": "expand/0006-in.jsonld",
"expect": "expand/0006-out.jsonld"
}, {
"@id": "#t0007",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "date type-coercion",
"purpose": "Expand strings to expanded value with @type: xsd:dateTime",
"input": "expand/0007-in.jsonld",
"expect": "expand/0007-out.jsonld"
}, {
"@id": "#t0008",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@value with @language",
"purpose": "Keep expanded values with @language, drop non-conforming value objects containing just @language",
"input": "expand/0008-in.jsonld",
"expect": "expand/0008-out.jsonld"
}, {
"@id": "#t0009",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@graph with terms",
"purpose": "Use of @graph to contain multiple nodes within array",
"input": "expand/0009-in.jsonld",
"expect": "expand/0009-out.jsonld"
}, {
"@id": "#t0010",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "native types",
"purpose": "Expanding native scalar retains native scalar within expanded value",
"input": "expand/0010-in.jsonld",
"expect": "expand/0010-out.jsonld"
}, {
"@id": "#t0011",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "coerced @id",
"purpose": "A value of a property with @type: @id coercion expands to a node reference",
"input": "expand/0011-in.jsonld",
"expect": "expand/0011-out.jsonld"
}, {
"@id": "#t0012",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@graph with embed",
"purpose": "Use of @graph to contain multiple nodes within array",
"input": "expand/0012-in.jsonld",
"expect": "expand/0012-out.jsonld"
}, {
"@id": "#t0013",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand already expanded",
"purpose": "Expand does not mess up already expanded document",
"input": "expand/0013-in.jsonld",
"expect": "expand/0013-out.jsonld"
}, {
"@id": "#t0014",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@set of @value objects with keyword aliases",
"purpose": "Expanding aliased @set and @value",
"input": "expand/0014-in.jsonld",
"expect": "expand/0014-out.jsonld"
}, {
"@id": "#t0015",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "collapse set of sets, keep empty lists",
"purpose": "An array of multiple @set nodes are collapsed into a single array",
"input": "expand/0015-in.jsonld",
"expect": "expand/0015-out.jsonld"
}, {
"@id": "#t0016",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "context reset",
"purpose": "Setting @context to null within an embedded object resets back to initial context state",
"input": "expand/0016-in.jsonld",
"expect": "expand/0016-out.jsonld"
}, {
"@id": "#t0017",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@graph and @id aliased",
"purpose": "Expanding with @graph and @id aliases",
"input": "expand/0017-in.jsonld",
"expect": "expand/0017-out.jsonld"
}, {
"@id": "#t0018",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "override default @language",
"purpose": "override default @language in terms; only language-tag strings",
"input": "expand/0018-in.jsonld",
"expect": "expand/0018-out.jsonld"
}, {
"@id": "#t0019",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "remove @value = null",
"purpose": "Expanding a value of null removes the value",
"input": "expand/0019-in.jsonld",
"expect": "expand/0019-out.jsonld"
}, {
"@id": "#t0020",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "do not remove @graph if not at top-level",
"purpose": "@graph used under a node is retained",
"input": "expand/0020-in.jsonld",
"expect": "expand/0020-out.jsonld"
}, {
"@id": "#t0021",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "do not remove @graph at top-level if not only property",
"purpose": "@graph used at the top level is retained if there are other properties",
"input": "expand/0021-in.jsonld",
"expect": "expand/0021-out.jsonld"
}, {
"@id": "#t0022",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand value with default language",
"purpose": "Expanding with a default language applies that language to string values",
"input": "expand/0022-in.jsonld",
"expect": "expand/0022-out.jsonld"
}, {
"@id": "#t0023",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding list/set with coercion",
"purpose": "Expanding lists and sets with properties having coercion coerces list/set values",
"input": "expand/0023-in.jsonld",
"expect": "expand/0023-out.jsonld"
}, {
"@id": "#t0024",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Multiple contexts",
"purpose": "Tests that contexts in an array are merged",
"input": "expand/0024-in.jsonld",
"expect": "expand/0024-out.jsonld"
}, {
"@id": "#t0025",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Problematic IRI expansion tests",
"purpose": "Expanding different kinds of terms and Compact IRIs",
"input": "expand/0025-in.jsonld",
"expect": "expand/0025-out.jsonld"
}, {
"@id": "#t0026",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Term definition with @id: @type",
"purpose": "Expanding term mapping to @type uses @type syntax",
"input": "expand/0026-in.jsonld",
"expect": "expand/0026-out.jsonld",
"option": {"specVersion": "json-ld-1.0"}
}, {
"@id": "#t0027",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Duplicate values in @list and @set",
"purpose": "Duplicate values in @list and @set are not merged",
"input": "expand/0027-in.jsonld",
"expect": "expand/0027-out.jsonld"
}, {
"@id": "#t0028",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Use @vocab in properties and @type but not in @id",
"purpose": "@vocab is used to compact properties and @type, but is not used for @id",
"input": "expand/0028-in.jsonld",
"expect": "expand/0028-out.jsonld"
}, {
"@id": "#t0029",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Relative IRIs",
"purpose": "@base is used to compact @id; test with different relative IRIs",
"input": "expand/0029-in.jsonld",
"expect": "expand/0029-out.jsonld"
}, {
"@id": "#t0030",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Language maps",
"purpose": "Language Maps expand values to include @language",
"input": "expand/0030-in.jsonld",
"expect": "expand/0030-out.jsonld"
}, {
"@id": "#t0031",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "type-coercion of native types",
"purpose": "Expanding native types with type coercion adds the coerced type to an expanded value representation and retains the native value representation",
"input": "expand/0031-in.jsonld",
"expect": "expand/0031-out.jsonld"
}, {
"@id": "#t0032",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Null term and @vocab",
"purpose": "Mapping a term to null decouples it from @vocab",
"input": "expand/0032-in.jsonld",
"expect": "expand/0032-out.jsonld"
}, {
"@id": "#t0033",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using @vocab with with type-coercion",
"purpose": "Verifies that terms can be defined using @vocab",
"input": "expand/0033-in.jsonld",
"expect": "expand/0033-out.jsonld"
}, {
"@id": "#t0034",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Multiple properties expanding to the same IRI",
"purpose": "Verifies multiple values from separate terms are deterministically made multiple values of the IRI associated with the terms",
"input": "expand/0034-in.jsonld",
"expect": "expand/0034-out.jsonld"
}, {
"@id": "#t0035",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Language maps with @vocab, default language, and colliding property",
"purpose": "Pathological tests of language maps",
"input": "expand/0035-in.jsonld",
"expect": "expand/0035-out.jsonld"
}, {
"@id": "#t0036",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding @index",
"purpose": "Expanding index maps for terms defined with @container: @index",
"input": "expand/0036-in.jsonld",
"expect": "expand/0036-out.jsonld"
}, {
"@id": "#t0037",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding @reverse",
"purpose": "Expanding @reverse keeps @reverse",
"input": "expand/0037-in.jsonld",
"expect": "expand/0037-out.jsonld"
}, {
"@id": "#t0038",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding blank node labels",
"purpose": "Blank nodes are not relabeled during expansion",
"option": {"specVersion": "json-ld-1.0"},
"input": "expand/0038-in.jsonld",
"expect": "expand/0038-out.jsonld"
}, {
"@id": "#t0039",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using terms in a reverse-maps",
"purpose": "Terms within @reverse are expanded",
"input": "expand/0039-in.jsonld",
"expect": "expand/0039-out.jsonld"
}, {
"@id": "#t0040",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "language and index expansion on non-objects",
"purpose": "Only invoke language and index map expansion if the value is a JSON object",
"input": "expand/0040-in.jsonld",
"expect": "expand/0040-out.jsonld"
}, {
"@id": "#t0041",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@language: null",
"purpose": "@language: null resets the default language",
"input": "expand/0041-in.jsonld",
"expect": "expand/0041-out.jsonld"
}, {
"@id": "#t0042",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Reverse properties",
"purpose": "Expanding terms defined as reverse properties uses @reverse in expanded document",
"input": "expand/0042-in.jsonld",
"expect": "expand/0042-out.jsonld"
}, {
"@id": "#t0043",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Using reverse properties inside a @reverse-container",
"purpose": "Expanding a reverse property within a @reverse undoes both reversals",
"input": "expand/0043-in.jsonld",
"expect": "expand/0043-out.jsonld"
}, {
"@id": "#t0044",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Index maps with language mappings",
"purpose": "Ensure index maps use language mapping",
"input": "expand/0044-in.jsonld",
"expect": "expand/0044-out.jsonld"
}, {
"@id": "#t0045",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Top-level value objects",
"purpose": "Expanding top-level value objects causes them to be removed",
"input": "expand/0045-in.jsonld",
"expect": "expand/0045-out.jsonld"
}, {
"@id": "#t0046",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Free-floating nodes",
"purpose": "Expanding free-floating nodes causes them to be removed",
"input": "expand/0046-in.jsonld",
"expect": "expand/0046-out.jsonld"
}, {
"@id": "#t0047",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Free-floating values in sets and free-floating lists",
"purpose": "Free-floating values in sets are removed, free-floating lists are removed completely",
"input": "expand/0047-in.jsonld",
"expect": "expand/0047-out.jsonld"
}, {
"@id": "#t0048",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Terms are ignored in @id",
"purpose": "Values of @id are not expanded as terms",
"input": "expand/0048-in.jsonld",
"expect": "expand/0048-out.jsonld"
}, {
"@id": "#t0049",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "String values of reverse properties",
"purpose": "String values of a reverse property with @type: @id are treated as IRIs",
"input": "expand/0049-in.jsonld",
"expect": "expand/0049-out.jsonld"
}, {
"@id": "#t0050",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Term definitions with prefix separate from prefix definitions",
"purpose": "Term definitions using compact IRIs don't inherit the definitions of the prefix",
"input": "expand/0050-in.jsonld",
"expect": "expand/0050-out.jsonld"
}, {
"@id": "#t0051",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expansion of keyword aliases in term definitions",
"purpose": "Expanding terms which are keyword aliases",
"input": "expand/0051-in.jsonld",
"expect": "expand/0051-out.jsonld"
}, {
"@id": "#t0052",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@vocab-relative IRIs in term definitions",
"purpose": "If @vocab is defined, term definitions are expanded relative to @vocab",
"input": "expand/0052-in.jsonld",
"expect": "expand/0052-out.jsonld"
}, {
"@id": "#t0053",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand absolute IRI with @type: @vocab",
"purpose": "Expanding values of properties of @type: @vocab does not further expand absolute IRIs",
"input": "expand/0053-in.jsonld",
"expect": "expand/0053-out.jsonld"
}, {
"@id": "#t0054",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand term with @type: @vocab",
"purpose": "Expanding values of properties of @type: @vocab does not expand term values",
"input": "expand/0054-in.jsonld",
"expect": "expand/0054-out.jsonld"
}, {
"@id": "#t0055",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand @vocab-relative term with @type: @vocab",
"purpose": "Expanding values of properties of @type: @vocab expands relative IRIs using @vocab",
"input": "expand/0055-in.jsonld",
"expect": "expand/0055-out.jsonld"
}, {
"@id": "#t0056",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Use terms with @type: @vocab but not with @type: @id",
"purpose": "Checks that expansion uses appropriate base depending on term definition having @type @id or @vocab",
"input": "expand/0056-in.jsonld",
"expect": "expand/0056-out.jsonld"
}, {
"@id": "#t0057",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand relative IRI with @type: @vocab",
"purpose": "Relative values of terms with @type: @vocab expand relative to @vocab",
"input": "expand/0057-in.jsonld",
"expect": "expand/0057-out.jsonld"
}, {
"@id": "#t0058",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand compact IRI with @type: @vocab",
"purpose": "Compact IRIs are expanded normally even if term has @type: @vocab",
"input": "expand/0058-in.jsonld",
"expect": "expand/0058-out.jsonld"
}, {
"@id": "#t0059",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Reset @vocab by setting it to null",
"purpose": "Setting @vocab to null removes a previous definition",
"input": "expand/0059-in.jsonld",
"expect": "expand/0059-out.jsonld"
}, {
"@id": "#t0060",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Overwrite document base with @base and reset it again",
"purpose": "Setting @base to an IRI and then resetting it to nil",
"input": "expand/0060-in.jsonld",
"expect": "expand/0060-out.jsonld"
}, {
"@id": "#t0061",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Coercing native types to arbitrary datatypes",
"purpose": "Expanding native types when coercing to arbitrary datatypes",
"input": "expand/0061-in.jsonld",
"expect": "expand/0061-out.jsonld"
}, {
"@id": "#t0062",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Various relative IRIs with with @base",
"purpose": "Pathological relative IRIs",
"input": "expand/0062-in.jsonld",
"expect": "expand/0062-out.jsonld"
}, {
"@id": "#t0063",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Reverse property and index container",
"purpose": "Expaning reverse properties with an index-container",
"input": "expand/0063-in.jsonld",
"expect": "expand/0063-out.jsonld"
}, {
"@id": "#t0064",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "bnode values of reverse properties",
"purpose": "Expand reverse property whose values are unlabeled blank nodes",
"input": "expand/0064-in.jsonld",
"expect": "expand/0064-out.jsonld"
}, {
"@id": "#t0065",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Drop unmapped keys in reverse map",
"purpose": "Keys that are not mapped to an IRI in a reverse-map are dropped",
"input": "expand/0065-in.jsonld",
"expect": "expand/0065-out.jsonld"
}, {
"@id": "#t0066",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Reverse-map keys with @vocab",
"purpose": "Expand uses @vocab to expand keys in reverse-maps",
"input": "expand/0066-in.jsonld",
"expect": "expand/0066-out.jsonld"
}, {
"@id": "#t0067",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "prefix://suffix not a compact IRI",
"purpose": "prefix:suffix values are not interpreted as compact IRIs if suffix begins with two slashes",
"input": "expand/0067-in.jsonld",
"expect": "expand/0067-out.jsonld"
}, {
"@id": "#t0068",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "_:suffix values are not a compact IRI",
"purpose": "prefix:suffix values are not interpreted as compact IRIs if prefix is an underscore",
"input": "expand/0068-in.jsonld",
"expect": "expand/0068-out.jsonld"
}, {
"@id": "#t0069",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Compact IRI as term with type mapping",
"purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as value of @id",
"input": "expand/0069-in.jsonld",
"expect": "expand/0069-out.jsonld"
}, {
"@id": "#t0070",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Compact IRI as term defined using equivalent compact IRI",
"purpose": "Redefine compact IRI to define type mapping using the compact IRI itself as string value",
"input": "expand/0070-in.jsonld",
"expect": "expand/0070-out.jsonld"
}, {
"@id": "#t0071",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Redefine terms looking like compact IRIs",
"purpose": "Term definitions may look like compact IRIs",
"input": "expand/0071-in.jsonld",
"expect": "expand/0071-out.jsonld",
"option": {"specVersion": "json-ld-1.0"}
}, {
"@id": "#t0072",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Redefine term using @vocab, not itself",
"purpose": "Redefining a term as itself when @vocab is defined uses @vocab, not previous term definition",
"input": "expand/0072-in.jsonld",
"expect": "expand/0072-out.jsonld"
}, {
"@id": "#t0073",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@context not first property",
"purpose": "Objects are unordered, so serialized node definition containing @context may have @context at the end of the node definition",
"input": "expand/0073-in.jsonld",
"expect": "expand/0073-out.jsonld"
}, {
"@id": "#t0074",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@id not first property",
"purpose": "Objects are unordered, so serialized node definition containing @id may have @id at the end of the node definition",
"input": "expand/0074-in.jsonld",
"expect": "expand/0074-out.jsonld"
}, {
"@id": "#t0075",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "@vocab as blank node identifier",
"purpose": "Use @vocab to map all properties to blank node identifiers",
"option": {"processingMode": "json-ld-1.0"},
"input": "expand/0075-in.jsonld",
"expect": "expand/0075-out.jsonld"
}, {
"@id": "#t0076",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "base option overrides document location",
"purpose": "Use of the base option overrides the document location",
"option": {
"base": "http://example/base/"
},
"input": "expand/0076-in.jsonld",
"expect": "expand/0076-out.jsonld"
}, {
"@id": "#t0077",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expandContext option",
"purpose": "Use of the expandContext option to expand the input document",
"option": {
"expandContext": "expand/0077-context.jsonld"
},
"input": "expand/0077-in.jsonld",
"expect": "expand/0077-out.jsonld"
}, {
"@id": "#t0078",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "multiple reverse properties",
"purpose": "Use of multiple reverse properties",
"input": "expand/0078-in.jsonld",
"expect": "expand/0078-out.jsonld"
}, {
"@id": "#t0079",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand @graph container",
"purpose": "Use of @graph containers",
"input": "expand/0079-in.jsonld",
"expect": "expand/0079-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0080",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @set] container",
"purpose": "Use of [@graph, @set] containers",
"input": "expand/0080-in.jsonld",
"expect": "expand/0080-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0081",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Creates an @graph container if value is a graph",
"purpose": "Don't double-expand an already expanded graph",
"input": "expand/0081-in.jsonld",
"expect": "expand/0081-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0082",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @index] container",
"purpose": "Use of @graph containers with @index",
"input": "expand/0082-in.jsonld",
"expect": "expand/0082-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0083",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @index, @set] container",
"purpose": "Use of @graph containers with @index and @set",
"input": "expand/0083-in.jsonld",
"expect": "expand/0083-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0084",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand [@graph, @index] container if value is a graph",
"purpose": "Does not create a new graph object if indexed value is already a graph object",
"input": "expand/0084-in.jsonld",
"expect": "expand/0084-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0085",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @id] container",
"purpose": "Use of @graph containers with @id",
"input": "expand/0085-in.jsonld",
"expect": "expand/0085-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0086",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @id, @set] container",
"purpose": "Use of @graph containers with @id and @set",
"input": "expand/0086-in.jsonld",
"expect": "expand/0086-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0087",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand [@graph, @id] container if value is a graph",
"purpose": "Does not create a new graph object if indexed value is already a graph object",
"input": "expand/0087-in.jsonld",
"expect": "expand/0087-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0088",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand native values to IRIs",
"purpose": "Value Expansion does not expand native values, such as booleans, to a node object",
"input": "expand/0088-in.jsonld",
"expect": "expand/0088-out.jsonld"
}, {
"@id": "#t0089",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "empty @base applied to the base option",
"purpose": "Use of an empty @base is applied to the base option",
"option": {
"base": "http://example/base/"
},
"input": "expand/0089-in.jsonld",
"expect": "expand/0089-out.jsonld"
}, {
"@id": "#t0090",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "relative @base overrides base option and document location",
"purpose": "Use of a relative @base overrides base option and document location",
"option": {
"base": "http://example/base/"
},
"input": "expand/0090-in.jsonld",
"expect": "expand/0090-out.jsonld"
}, {
"@id": "#t0091",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "relative and absolute @base overrides base option and document location",
"purpose": "Use of a relative and absolute @base overrides base option and document location",
"option": {
"base": "http://example/base/"
},
"input": "expand/0091-in.jsonld",
"expect": "expand/0091-out.jsonld"
}, {
"@id": "#t0092",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Various relative IRIs as properties with with @vocab: ''",
"purpose": "Pathological relative property IRIs",
"input": "expand/0092-in.jsonld",
"expect": "expand/0092-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0093",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand @graph container (multiple objects)",
"purpose": "Use of @graph containers",
"input": "expand/0093-in.jsonld",
"expect": "expand/0093-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0094",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @set] container (multiple objects)",
"purpose": "Use of [@graph, @set] containers",
"input": "expand/0094-in.jsonld",
"expect": "expand/0094-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0095",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Creates an @graph container if value is a graph (multiple objects)",
"purpose": "Double-expand an already expanded graph",
"input": "expand/0095-in.jsonld",
"expect": "expand/0095-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0096",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @index] container (multiple indexed objects)",
"purpose": "Use of @graph containers with @index",
"input": "expand/0096-in.jsonld",
"expect": "expand/0096-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0097",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @index, @set] container (multiple objects)",
"purpose": "Use of @graph containers with @index and @set",
"input": "expand/0097-in.jsonld",
"expect": "expand/0097-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0098",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand [@graph, @index] container if value is a graph (multiple objects)",
"purpose": "Does not create a new graph object if indexed value is already a graph object",
"input": "expand/0098-in.jsonld",
"expect": "expand/0098-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0099",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @id] container (multiple objects)",
"purpose": "Use of @graph containers with @id",
"input": "expand/0099-in.jsonld",
"expect": "expand/0099-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0100",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @id, @set] container (multiple objects)",
"purpose": "Use of @graph containers with @id and @set",
"input": "expand/0100-in.jsonld",
"expect": "expand/0100-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0101",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand [@graph, @id] container if value is a graph (multiple objects)",
"purpose": "Does not create a new graph object if indexed value is already a graph object",
"input": "expand/0101-in.jsonld",
"expect": "expand/0101-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0102",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand @graph container if value is a graph (multiple objects)",
"purpose": "Creates a new graph object if indexed value is already a graph object",
"input": "expand/0102-in.jsonld",
"expect": "expand/0102-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0103",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expand @graph container if value is a graph (multiple graphs)",
"purpose": "Creates a new graph object if indexed value is already a graph object",
"input": "expand/0103-in.jsonld",
"expect": "expand/0103-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0104",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Creates an @graph container if value is a graph (mixed graph and object)",
"purpose": "Double-expand an already expanded graph",
"input": "expand/0104-in.jsonld",
"expect": "expand/0104-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0105",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand [@graph, @index] container if value is a graph (mixed graph and object)",
"purpose": "Does not create a new graph object if indexed value is already a graph object",
"input": "expand/0105-in.jsonld",
"expect": "expand/0105-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0106",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Do not expand [@graph, @id] container if value is a graph (mixed graph and object)",
"purpose": "Does not create a new graph object if indexed value is already a graph object",
"input": "expand/0106-in.jsonld",
"expect": "expand/0106-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0107",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @index] container (indexes with multiple objects)",
"purpose": "Use of @graph containers with @index",
"input": "expand/0107-in.jsonld",
"expect": "expand/0107-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0108",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "expand [@graph, @id] container (multiple ids and objects)",
"purpose": "Use of @graph containers with @id",
"input": "expand/0108-in.jsonld",
"expect": "expand/0108-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0109",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "IRI expansion of fragments including ':'",
"purpose": "Do not treat as absolute IRIs values that look like compact IRIs if they're not absolute",
"input": "expand/0109-in.jsonld",
"expect": "expand/0109-out.jsonld"
}, {
"@id": "#t0110",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Various relative IRIs as properties with with relative @vocab",
"purpose": "Pathological relative property IRIs",
"input": "expand/0110-in.jsonld",
"expect": "expand/0110-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0111",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Various relative IRIs as properties with with relative @vocab itself relative to an existing vocabulary base",
"purpose": "Pathological relative property IRIs",
"input": "expand/0111-in.jsonld",
"expect": "expand/0111-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0112",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Various relative IRIs as properties with with relative @vocab relative to another relative vocabulary base",
"purpose": "Pathological relative property IRIs",
"input": "expand/0112-in.jsonld",
"expect": "expand/0112-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0113",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "context with JavaScript Object property names",
"purpose": "Expand with context including JavaScript Object property names",
"input": "expand/0113-in.jsonld",
"expect": "expand/0113-out.jsonld"
}, {
"@id": "#t0114",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expansion allows multiple properties expanding to @type",
"purpose": "An exception for the colliding keywords error is made for @type",
"input": "expand/0114-in.jsonld",
"expect": "expand/0114-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0115",
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
"name": "Verifies that relative IRIs as properties with @vocab: '' in 1.0 generate an error",
"purpose": "Relative property IRIs with relative @vocab in 1.0",
"input": "expand/0115-in.jsonld",
"expectErrorCode": "invalid vocab mapping",
"option": {"specVersion": "json-ld-1.0"}
}, {
"@id": "#t0116",
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
"name": "Verifies that relative IRIs as properties with relative @vocab in 1.0 generate an error",
"purpose": "Relative property IRIs with relative @vocab in 1.0",
"input": "expand/0116-in.jsonld",
"expectErrorCode": "invalid vocab mapping",
"option": {"specVersion": "json-ld-1.0"}
}, {
"@id": "#t0117",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "A term starting with a colon can expand to a different IRI",
"purpose": "Terms may begin with a colon and not be treated as IRIs.",
"input": "expand/0117-in.jsonld",
"expect": "expand/0117-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0118",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Expanding a value staring with a colon does not treat that value as an IRI",
"purpose": "Terms may begin with a colon and not be treated as IRIs.",
"input": "expand/0118-in.jsonld",
"expect": "expand/0118-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0119",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Ignore some terms with @, allow others.",
"purpose": "Processors SHOULD generate a warning and MUST ignore terms having the form of a keyword.",
"input": "expand/0119-in.jsonld",
"expect": "expand/0119-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0120",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Ignore some values of @id with @, allow others.",
"purpose": "Processors SHOULD generate a warning and MUST ignore values of @id having the form of a keyword.",
"input": "expand/0120-in.jsonld",
"expect": "expand/0120-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0121",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Ignore some values of @reverse with @, allow others.",
"purpose": "Processors SHOULD generate a warning and MUST ignore values of @reverse having the form of a keyword.",
"input": "expand/0121-in.jsonld",
"expect": "expand/0121-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0122",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Ignore some IRIs when that start with @ when expanding.",
"purpose": "Processors SHOULD generate a warning and MUST ignore IRIs having the form of a keyword. (Note: the resulting document will not be valid JSON-LD, due to the `null` value for `@id`)",
"input": "expand/0122-in.jsonld",
"expect": "expand/0122-out.jsonld",
"option": {"specVersion": "json-ld-1.1", "normative": false}
}, {
"@id": "#t0123",
"@type": ["jld:NegativeEvaluationTest", "jld:ExpandTest"],
"name": "Value objects including invalid literal datatype IRIs are rejected",
"purpose": "Processors MUST validate datatype IRIs.",
"input": "expand/0123-in.jsonld",
"expectErrorCode": "invalid typed value",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0124",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "compact IRI as @vocab",
"purpose": "Verifies that @vocab defined as a compact IRI expands properly",
"input": "expand/0124-in.jsonld",
"expect": "expand/0124-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0125",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "term as @vocab",
"purpose": "Verifies that @vocab defined as a term expands properly",
"input": "expand/0125-in.jsonld",
"expect": "expand/0125-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0126",
"@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ],
"name": "A scoped context may include itself recursively (direct)",
"purpose": "Verifies that no exception is raised on expansion when processing a scoped context referencing itself directly",
"input": "expand/0126-in.jsonld",
"expect": "expand/0126-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0127",
"@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ],
"name": "A scoped context may include itself recursively (indirect)",
"purpose": "Verifies that no exception is raised on expansion when processing a scoped context referencing itself indirectly",
"input": "expand/0127-in.jsonld",
"expect": "expand/0127-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0128",
"@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ],
"name": "Two scoped context may include a shared context",
"purpose": "Verifies that no exception is raised on expansion when processing two scoped contexts referencing a shared context",
"input": "expand/0128-in.jsonld",
"expect": "expand/0128-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#t0129",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Base without trailing slash, without path",
"purpose": "Verify URI resolution relative to base (without trailing slash, without path) according to RFC 3986",
"input": "expand/0129-in.jsonld",
"expect": "expand/0129-out.jsonld"
}, {
"@id": "#t0130",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "Base without trailing slash, with path",
"purpose": "Verify URI resolution relative to base (without trailing slash, with path) according to RFC 3986",
"input": "expand/0130-in.jsonld",
"expect": "expand/0130-out.jsonld"
}, {
"@id": "#t0131",
"@type": [ "jld:PositiveEvaluationTest", "jld:ExpandTest" ],
"name": "Reverse term with property based indexed container",
"purpose": "Expanding a reverse term using @container: @index and @index set to a property",
"input": "expand/0131-in.jsonld",
"expect": "expand/0131-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc001",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],
"name": "adding new term",
"purpose": "Expansion using a scoped context uses term scope for selecting proper term",
"input": "expand/c001-in.jsonld",
"expect": "expand/c001-out.jsonld",
"option": {"specVersion": "json-ld-1.1"}
}, {
"@id": "#tc002",
"@type": ["jld:PositiveEvaluationTest", "jld:ExpandTest"],