|
658 | 658 | }, { |
659 | 659 | "@id": "#t0080", |
660 | 660 | "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], |
661 | | - "name": "Do not compact a graph having @id with a term having an @graph container", |
662 | | - "purpose": "Graph compaction works only on simple graphs", |
| 661 | + "name": "Does not compact graph with @id without @graphId", |
| 662 | + "purpose": "Graph compaction works only on graphs with matching identifier", |
663 | 663 | "input": "compact-0080-in.jsonld", |
664 | 664 | "context": "compact-0080-context.jsonld", |
665 | 665 | "expect": "compact-0080-out.jsonld", |
666 | 666 | "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} |
| 667 | + }, { |
| 668 | + "@id": "#t0081", |
| 669 | + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], |
| 670 | + "name": "Compacts named graph", |
| 671 | + "purpose": "Graph compaction works if term @graphId matches graph @id", |
| 672 | + "input": "compact-0081-in.jsonld", |
| 673 | + "context": "compact-0081-context.jsonld", |
| 674 | + "expect": "compact-0081-out.jsonld", |
| 675 | + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} |
| 676 | + }, { |
| 677 | + "@id": "#t0082", |
| 678 | + "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], |
| 679 | + "name": "Does not compacts graph with @id without matching @graphId", |
| 680 | + "purpose": "Graph compaction works only on graphs with matching identifier", |
| 681 | + "input": "compact-0082-in.jsonld", |
| 682 | + "context": "compact-0082-context.jsonld", |
| 683 | + "expect": "compact-0082-out.jsonld", |
| 684 | + "option": {"processingMode": "json-ld-1.1", "specVersion": "json-ld-1.1"} |
667 | 685 | }, { |
668 | 686 | "@id": "#tc001", |
669 | 687 | "@type": ["jld:PositiveEvaluationTest", "jld:CompactTest"], |
|
0 commit comments