@@ -1951,7 +1951,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
19511951 } ) ;
19521952 } ) ;
19531953
1954- it ( 'should emit for @graph with relative @id (1)' , async ( ) => {
1954+ it ( 'should emit for @graph with only @id (1)' , async ( ) => {
19551955 const input =
19561956{
19571957 "@context" : {
@@ -1962,7 +1962,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
19621962 }
19631963 } ,
19641964 "@id" : "urn:id" ,
1965- "p" : [ "rel " ]
1965+ "p" : [ "urn:id0 " ]
19661966}
19671967;
19681968 const expected = [ ] ;
@@ -1979,7 +1979,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
19791979 } ) ;
19801980 } ) ;
19811981
1982- it ( 'should emit for @graph with relative @id (2)' , async ( ) => {
1982+ it ( 'should emit for @graph with only @id (2)' , async ( ) => {
19831983 const input =
19841984{
19851985 "@context" : {
@@ -1991,8 +1991,8 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
19911991 } ,
19921992 "@id" : "urn:id" ,
19931993 "p" : [
1994- "rel0 " ,
1995- "rel1 "
1994+ "urn:id0 " ,
1995+ "urn:id1 "
19961996 ]
19971997}
19981998;
@@ -2011,7 +2011,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
20112011 } ) ;
20122012 } ) ;
20132013
2014- it ( 'should emit for @graph with relative @id (3)' , async ( ) => {
2014+ it ( 'should emit for @graph with only @id (3)' , async ( ) => {
20152015 const input =
20162016{
20172017 "@context" : {
@@ -2024,10 +2024,10 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
20242024 "@id" : "urn:g0" ,
20252025 "p" : [
20262026 {
2027- "@id" : "urn:g1 " ,
2028- "urn:p1 " : "v1 "
2027+ "@id" : "urn:id0 " ,
2028+ "urn:p0 " : "v0 "
20292029 } ,
2030- "rel "
2030+ "urn:id1 "
20312031 ]
20322032}
20332033;
@@ -2039,10 +2039,10 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
20392039 {
20402040 "@graph" : [
20412041 {
2042- "@id" : "urn:g1 " ,
2043- "urn:p1 " : [
2042+ "@id" : "urn:id0 " ,
2043+ "urn:p0 " : [
20442044 {
2045- "@value" : "v1 "
2045+ "@value" : "v0 "
20462046 }
20472047 ]
20482048 }
@@ -2064,7 +2064,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
20642064 } ) ;
20652065 } ) ;
20662066
2067- it ( 'should emit for @graph with relative @id (4)' , async ( ) => {
2067+ it ( 'should emit for @graph with only @id (4)' , async ( ) => {
20682068 const input =
20692069{
20702070 "@context" : {
@@ -2076,9 +2076,9 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
20762076 } ,
20772077 "@id" : "urn:g0" ,
20782078 "p" : [
2079- "rel " ,
2079+ "urn:id0 " ,
20802080 {
2081- "@id" : "urn:g1 " ,
2081+ "@id" : "urn:id1 " ,
20822082 "urn:p1" : "v1"
20832083 }
20842084 ]
@@ -2092,7 +2092,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
20922092 {
20932093 "@graph" : [
20942094 {
2095- "@id" : "urn:g1 " ,
2095+ "@id" : "urn:id1 " ,
20962096 "urn:p1" : [
20972097 {
20982098 "@value" : "v1"
@@ -2117,7 +2117,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
21172117 } ) ;
21182118 } ) ;
21192119
2120- it ( 'should emit for @graph with relative @id (5)' , async ( ) => {
2120+ it ( 'should emit for @graph with only @id (5)' , async ( ) => {
21212121 const input =
21222122{
21232123 "@context" : {
@@ -2132,7 +2132,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
21322132 } ,
21332133 "@id" : "urn:id" ,
21342134 "urn:t" : "urn:id" ,
2135- "p" : [ "rel " ]
2135+ "p" : [ "urn:id0 " ]
21362136}
21372137;
21382138 const expected =
@@ -2159,7 +2159,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
21592159 } ) ;
21602160 } ) ;
21612161
2162- it ( 'should emit for @graph with relative @id (6)' , async ( ) => {
2162+ it ( 'should emit for @graph with only @id (6)' , async ( ) => {
21632163 const input =
21642164{
21652165 "@context" : {
@@ -2174,7 +2174,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
21742174 } ,
21752175 "@id" : "urn:id" ,
21762176 "urn:t" : "urn:id" ,
2177- "p" : "rel "
2177+ "p" : "urn:id0 "
21782178}
21792179;
21802180 const expected =
@@ -2218,7 +2218,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
22182218 "urn:t" : "urn:id" ,
22192219 "p" : {
22202220 "@id" : "rel" ,
2221- "urn:t" : "urn:id2 "
2221+ "urn:t" : "urn:id0 "
22222222 }
22232223}
22242224;
@@ -2238,7 +2238,7 @@ _:b0 <ex:p> "[null]"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#JSON> .
22382238 "@id" : "rel" ,
22392239 "urn:t" : [
22402240 {
2241- "@id" : "urn:id2 "
2241+ "@id" : "urn:id0 "
22422242 }
22432243 ]
22442244 }
0 commit comments