Skip to content

Commit

Permalink
Merge pull request #27 from kg-construct/adjust-relative-path
Browse files Browse the repository at this point in the history
test-cases: adjust to RelativePathSource
  • Loading branch information
arenas-guerrero-julian authored Apr 15, 2024
2 parents 9e09878 + 316eb9c commit 35f5888
Show file tree
Hide file tree
Showing 18 changed files with 156 additions and 52 deletions.
8 changes: 6 additions & 2 deletions test-cases/invalid/RMLSTARTC009/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/invalid/RMLSTARTC010/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC001a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC001b/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC002a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC002b/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
12 changes: 9 additions & 3 deletions test-cases/valid/RMLSTARTC003a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand All @@ -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 [
Expand Down
12 changes: 9 additions & 3 deletions test-cases/valid/RMLSTARTC003b/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand All @@ -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 [
Expand Down
12 changes: 9 additions & 3 deletions test-cases/valid/RMLSTARTC004a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand All @@ -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 [
Expand Down
12 changes: 9 additions & 3 deletions test-cases/valid/RMLSTARTC004b/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC005a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC005b/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC006a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
8 changes: 6 additions & 2 deletions test-cases/valid/RMLSTARTC006b/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand Down
12 changes: 9 additions & 3 deletions test-cases/valid/RMLSTARTC007a/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -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 [
Expand All @@ -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 [
Expand All @@ -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 [
Expand Down
Loading

0 comments on commit 35f5888

Please sign in to comment.