From 1f27bc31d499d749dee7f46e1361d46eec52f29a Mon Sep 17 00:00:00 2001 From: Els de Vleeschauwer Date: Thu, 9 Jan 2025 22:51:38 +0100 Subject: [PATCH] correction test cases --- test-cases/RMLLVTC0002/mapping.ttl | 2 +- test-cases/RMLLVTC0003/mapping.ttl | 2 +- test-cases/RMLLVTC0004/mapping.ttl | 2 +- test-cases/RMLLVTC0005/mapping.ttl | 5 +++-- test-cases/RMLLVTC0006/mapping.ttl | 4 ++-- test-cases/RMLLVTC0007/mapping.ttl | 4 ++-- test-cases/RMLLVTC0008/mapping.ttl | 10 +++++----- test-cases/RMLLVTC0009/mapping.ttl | 2 +- 8 files changed, 16 insertions(+), 15 deletions(-) diff --git a/test-cases/RMLLVTC0002/mapping.ttl b/test-cases/RMLLVTC0002/mapping.ttl index c11337c..6e4a777 100644 --- a/test-cases/RMLLVTC0002/mapping.ttl +++ b/test-cases/RMLLVTC0002/mapping.ttl @@ -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" ; diff --git a/test-cases/RMLLVTC0003/mapping.ttl b/test-cases/RMLLVTC0003/mapping.ttl index 9861c9a..3be8d40 100644 --- a/test-cases/RMLLVTC0003/mapping.ttl +++ b/test-cases/RMLLVTC0003/mapping.ttl @@ -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" ; diff --git a/test-cases/RMLLVTC0004/mapping.ttl b/test-cases/RMLLVTC0004/mapping.ttl index 9275dab..01cf26d 100644 --- a/test-cases/RMLLVTC0004/mapping.ttl +++ b/test-cases/RMLLVTC0004/mapping.ttl @@ -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" ; diff --git a/test-cases/RMLLVTC0005/mapping.ttl b/test-cases/RMLLVTC0005/mapping.ttl index a12d3bf..7a382ca 100644 --- a/test-cases/RMLLVTC0005/mapping.ttl +++ b/test-cases/RMLLVTC0005/mapping.ttl @@ -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" ; ] ; diff --git a/test-cases/RMLLVTC0006/mapping.ttl b/test-cases/RMLLVTC0006/mapping.ttl index 01de0e3..13d6f9c 100644 --- a/test-cases/RMLLVTC0006/mapping.ttl +++ b/test-cases/RMLLVTC0006/mapping.ttl @@ -2,7 +2,7 @@ @prefix xsd: . @prefix : . -:mixedCSVSource a rml:InputLogicalSource ; +:mixedCSVSource a rml:LogicalSource ; rml:source [ a rml:RelativePathSource , rml:Source ; rml:root rml:MappingDirectory ; @@ -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 ; diff --git a/test-cases/RMLLVTC0007/mapping.ttl b/test-cases/RMLLVTC0007/mapping.ttl index 75866e5..16ced6c 100644 --- a/test-cases/RMLLVTC0007/mapping.ttl +++ b/test-cases/RMLLVTC0007/mapping.ttl @@ -2,7 +2,7 @@ @prefix xsd: . @prefix : . -:mixedCSVSource a rml:InputLogicalSource ; +:mixedCSVSource a rml:LogicalSource ; rml:source [ a rml:RelativePathSource , rml:Source ; rml:root rml:MappingDirectory ; @@ -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" ; diff --git a/test-cases/RMLLVTC0008/mapping.ttl b/test-cases/RMLLVTC0008/mapping.ttl index d5b1254..0bec70b 100644 --- a/test-cases/RMLLVTC0008/mapping.ttl +++ b/test-cases/RMLLVTC0008/mapping.ttl @@ -2,7 +2,7 @@ @prefix xsd: . @prefix : . -:mixedJSONSource a rml:InputLogicalSource ; +:mixedJSONSource a rml:LogicalSource ; rml:source [ a rml:RelativePathSource , rml:Source ; rml:root rml:MappingDirectory ; @@ -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" ; ] ; @@ -36,7 +36,7 @@ rml:fieldName "weight" ; rml:reference "weight" ; ] ; - ] + ] ; ]. :triplesMapItem a rml:TriplesMap ; diff --git a/test-cases/RMLLVTC0009/mapping.ttl b/test-cases/RMLLVTC0009/mapping.ttl index b7fb65d..c71af9c 100644 --- a/test-cases/RMLLVTC0009/mapping.ttl +++ b/test-cases/RMLLVTC0009/mapping.ttl @@ -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" ;