Skip to content

Commit

Permalink
test-cases: RMTLC0010*-JSON: fix JSONPath
Browse files Browse the repository at this point in the history
Follow JSONPath IETF Draft, fixes #93
  • Loading branch information
DylanVanAssche committed Feb 24, 2024
1 parent caad147 commit 452accf
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test-cases/RMLTC0010a-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
rml:iterator "$.countries[*]"
];

rml:subjectMap [ rml:template "http://example.com/{Country Code}" ];
rml:subjectMap [ rml:template "http://example.com/{$.['Country Code']}" ];

rml:predicateObjectMap [
rml:predicate ex:name ;
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC0010b-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
rml:iterator "$.countries[*]"
];

rml:subjectMap [ rml:template "http://example.com/{Country Code}/{Name}" ];
rml:subjectMap [ rml:template "http://example.com/{$.['Country Code']}/{Name}" ];

rml:predicateObjectMap [
rml:predicate ex:name ;
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLTC0010c-JSON/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
rml:iterator "$.countries[*]"
];

rml:subjectMap [ rml:template "http://example.com/{Country Code}/{Name}" ];
rml:subjectMap [ rml:template "http://example.com/{$.['Country Code']}/{Name}" ];

rml:predicateObjectMap [
rml:predicate ex:code ;
Expand Down

0 comments on commit 452accf

Please sign in to comment.