From 316eb9c06b4c1032af6090d53ab1ac0a54530440 Mon Sep 17 00:00:00 2001 From: Dylan Van Assche Date: Mon, 15 Apr 2024 11:42:47 +0200 Subject: [PATCH] test-cases: adjust to RelativePathSource --- test-cases/invalid/RMLSTARTC009/mapping.ttl | 8 ++++-- test-cases/invalid/RMLSTARTC010/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC001a/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC001b/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC002a/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC002b/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC003a/mapping.ttl | 12 ++++++--- test-cases/valid/RMLSTARTC003b/mapping.ttl | 12 ++++++--- test-cases/valid/RMLSTARTC004a/mapping.ttl | 12 ++++++--- test-cases/valid/RMLSTARTC004b/mapping.ttl | 12 ++++++--- test-cases/valid/RMLSTARTC005a/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC005b/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC006a/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC006b/mapping.ttl | 8 ++++-- test-cases/valid/RMLSTARTC007a/mapping.ttl | 12 ++++++--- test-cases/valid/RMLSTARTC007b/mapping.ttl | 12 ++++++--- test-cases/valid/RMLSTARTC008a/mapping.ttl | 28 +++++++++++++++------ test-cases/valid/RMLSTARTC008b/mapping.ttl | 28 +++++++++++++++------ 18 files changed, 156 insertions(+), 52 deletions(-) diff --git a/test-cases/invalid/RMLSTARTC009/mapping.ttl b/test-cases/invalid/RMLSTARTC009/mapping.ttl index a93dc04..311477d 100644 --- a/test-cases/invalid/RMLSTARTC009/mapping.ttl +++ b/test-cases/invalid/RMLSTARTC009/mapping.ttl @@ -6,7 +6,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -21,7 +23,9 @@ :secondTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/invalid/RMLSTARTC010/mapping.ttl b/test-cases/invalid/RMLSTARTC010/mapping.ttl index 39c43fb..4896029 100644 --- a/test-cases/invalid/RMLSTARTC010/mapping.ttl +++ b/test-cases/invalid/RMLSTARTC010/mapping.ttl @@ -6,7 +6,9 @@ :firstTM a rml:AssertedTriplesMap, rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -19,7 +21,9 @@ :secondTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC001a/mapping.ttl b/test-cases/valid/RMLSTARTC001a/mapping.ttl index e104ec2..63ec233 100644 --- a/test-cases/valid/RMLSTARTC001a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC001a/mapping.ttl @@ -6,7 +6,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC001b/mapping.ttl b/test-cases/valid/RMLSTARTC001b/mapping.ttl index b0c93d2..e9826ef 100644 --- a/test-cases/valid/RMLSTARTC001b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC001b/mapping.ttl @@ -6,7 +6,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC002a/mapping.ttl b/test-cases/valid/RMLSTARTC002a/mapping.ttl index 54e4306..c301bf7 100644 --- a/test-cases/valid/RMLSTARTC002a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC002a/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -23,7 +25,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC002b/mapping.ttl b/test-cases/valid/RMLSTARTC002b/mapping.ttl index 21e6f3e..372d0f9 100644 --- a/test-cases/valid/RMLSTARTC002b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC002b/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -23,7 +25,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC003a/mapping.ttl b/test-cases/valid/RMLSTARTC003a/mapping.ttl index a444192..4d46169 100644 --- a/test-cases/valid/RMLSTARTC003a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC003a/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :thirdTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC003b/mapping.ttl b/test-cases/valid/RMLSTARTC003b/mapping.ttl index 044accf..edab9cc 100644 --- a/test-cases/valid/RMLSTARTC003b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC003b/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :thirdTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC004a/mapping.ttl b/test-cases/valid/RMLSTARTC004a/mapping.ttl index 5b4dba8..06b3511 100644 --- a/test-cases/valid/RMLSTARTC004a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC004a/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :thirdTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC004b/mapping.ttl b/test-cases/valid/RMLSTARTC004b/mapping.ttl index 915af20..6ea4502 100644 --- a/test-cases/valid/RMLSTARTC004b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC004b/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :thirdTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC005a/mapping.ttl b/test-cases/valid/RMLSTARTC005a/mapping.ttl index ccbf6d6..9cfe140 100644 --- a/test-cases/valid/RMLSTARTC005a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC005a/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC005b/mapping.ttl b/test-cases/valid/RMLSTARTC005b/mapping.ttl index 2aad045..1b885da 100644 --- a/test-cases/valid/RMLSTARTC005b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC005b/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC006a/mapping.ttl b/test-cases/valid/RMLSTARTC006a/mapping.ttl index a8a836b..5de699b 100644 --- a/test-cases/valid/RMLSTARTC006a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC006a/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:NonAssertedTriplesMap ; # This refers to the y statement in the rdf-star rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; # This refers to the x statement in the rdf-star rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC006b/mapping.ttl b/test-cases/valid/RMLSTARTC006b/mapping.ttl index 0f92ff6..c1baf80 100644 --- a/test-cases/valid/RMLSTARTC006b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC006b/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:NonAssertedTriplesMap ; # This refers to the y statement in the rdf-star rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; # This refers to the x statement in the rdf-star rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC007a/mapping.ttl b/test-cases/valid/RMLSTARTC007a/mapping.ttl index f47343b..16a4cec 100644 --- a/test-cases/valid/RMLSTARTC007a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC007a/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :thirdTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC007b/mapping.ttl b/test-cases/valid/RMLSTARTC007b/mapping.ttl index b6e4cf3..89ea007 100644 --- a/test-cases/valid/RMLSTARTC007b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC007b/mapping.ttl @@ -7,7 +7,9 @@ :firstTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :secondTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -41,7 +45,9 @@ :thirdTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC008a/mapping.ttl b/test-cases/valid/RMLSTARTC008a/mapping.ttl index 76d5667..9144682 100644 --- a/test-cases/valid/RMLSTARTC008a/mapping.ttl +++ b/test-cases/valid/RMLSTARTC008a/mapping.ttl @@ -7,7 +7,9 @@ :elementaryTM1 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :firstJoinTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :elementaryTM2 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -52,7 +58,9 @@ :centralJoinTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -67,7 +75,9 @@ :elementaryTM3 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -82,7 +92,9 @@ :secondJoinTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -97,7 +109,9 @@ :elementaryTM4 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ diff --git a/test-cases/valid/RMLSTARTC008b/mapping.ttl b/test-cases/valid/RMLSTARTC008b/mapping.ttl index 1e5db28..ee75362 100644 --- a/test-cases/valid/RMLSTARTC008b/mapping.ttl +++ b/test-cases/valid/RMLSTARTC008b/mapping.ttl @@ -7,7 +7,9 @@ :elementaryTM1 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -22,7 +24,9 @@ :firstJoinTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -37,7 +41,9 @@ :elementaryTM2 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data1.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data1.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -52,7 +58,9 @@ :centralJoinTM a rml:AssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -71,7 +79,9 @@ :elementaryTM3 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -86,7 +96,9 @@ :secondJoinTM a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [ @@ -101,7 +113,9 @@ :elementaryTM4 a rml:NonAssertedTriplesMap ; rml:logicalSource [ - rml:source "data2.csv"; + rml:source [ a rml:Source, rml:RelativePathSource; + rml:path "data2.csv"; + ]; rml:referenceFormulation rml:CSV ]; rml:subjectMap [