Skip to content

Commit

Permalink
correction test cases
Browse files Browse the repository at this point in the history
  • Loading branch information
elsdvlee committed Jan 9, 2025
1 parent 61c184f commit 1f27bc3
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion test-cases/RMLLVTC0002/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
rml:field [
a rml:IterableField ;
rml:fieldName "item" ;
rml:iterable "$.items[*]" ;
rml:iterator "$.items[*]" ;
rml:field [
a rml:ExpressionField ;
rml:fieldName "type" ;
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLLVTC0003/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
rml:field [
a rml:IterableField ;
rml:fieldName "item" ;
rml:reference "$.items[*]" ;
rml:iterator "$.items[*]" ;
rml:field [
a rml:ExpressionField ;
rml:fieldName "type" ;
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLLVTC0004/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
rml:field [
a rml:IterableField ;
rml:fieldName "item" ;
rml:reference "$.items[*]" ;
rml:iterator "$.items[*]" ;
rml:field [
a rml:ExpressionField ;
rml:fieldName "type" ;
Expand Down
5 changes: 3 additions & 2 deletions test-cases/RMLLVTC0005/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
rml:field [
a rml:IterableField ;
rml:fieldName "item" ;
rml:reference "$.items[*]" ;
rml:field [ a rml:ExpressionField ;
rml:iterator "$.items[*]" ;
rml:field [
a rml:ExpressionField ;
rml:fieldName "type" ;
rml:reference "$.type" ;
] ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLLVTC0006/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <http://example.org/> .

:mixedCSVSource a rml:InputLogicalSource ;
:mixedCSVSource a rml:LogicalSource ;
rml:source [
a rml:RelativePathSource , rml:Source ;
rml:root rml:MappingDirectory ;
Expand All @@ -24,7 +24,7 @@
rml:field [
a rml:IterableField ;
rml:referenceFormulation rml:JSONPath ;
rml:iterator "$[*]"
rml:iterator "$[*]" ;
rml:fieldName: "item" ;
rml:field [
a rml:ExpressionField ;
Expand Down
4 changes: 2 additions & 2 deletions test-cases/RMLLVTC0007/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <http://example.org/> .

:mixedCSVSource a rml:InputLogicalSource ;
:mixedCSVSource a rml:LogicalSource ;
rml:source [
a rml:RelativePathSource , rml:Source ;
rml:root rml:MappingDirectory ;
Expand All @@ -25,7 +25,7 @@
a rml:IterableField ;
rml:referenceFormulation rml:JSONPath ;
rml:iterator "$[*]" ;
rml:fieldName "itemJson"
rml:fieldName "itemJson" ;
rml:field [
a rml:ExpressionField;
rml:fieldName "type" ;
Expand Down
10 changes: 5 additions & 5 deletions test-cases/RMLLVTC0008/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@prefix : <http://example.org/> .

:mixedJSONSource a rml:InputLogicalSource ;
:mixedJSONSource a rml:LogicalSource ;
rml:source [
a rml:RelativePathSource , rml:Source ;
rml:root rml:MappingDirectory ;
Expand All @@ -21,13 +21,13 @@
rml:field [
a rml:ExpressionField ;
rml:fieldName "items" ;
rml:iterator "$.items" ;
rml:reference "$.items" ;
rml:field [
a rml:IterableField
a rml:IterableField ;
rml:referenceFormulation rml:CSV ;
rml:fieldName "item";
rml:field [
a rml:ExpressionField
a rml:ExpressionField ;
rml:fieldName "type" ;
rml:reference "type" ;
] ;
Expand All @@ -36,7 +36,7 @@
rml:fieldName "weight" ;
rml:reference "weight" ;
] ;
]
] ;
].

:triplesMapItem a rml:TriplesMap ;
Expand Down
2 changes: 1 addition & 1 deletion test-cases/RMLLVTC0009/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
rml:field [
a rml:IterableField ;
rml:fieldName "item" ;
rml:reference "$.items[*]" ;
rml:iterator "$.items[*]" ;
rml:field [
a rml:ExpressionField ;
rml:fieldName "type" ;
Expand Down

0 comments on commit 1f27bc3

Please sign in to comment.