Skip to content

Commit

Permalink
test-cases: RMLSTC0004{a,b,c}: fix delimiters, spaces, and output
Browse files Browse the repository at this point in the history
Delimiters need to be ';', spaces should be removed,
and 4a has no NULL value so empty values should be generated as RDF.

Fixes #53
  • Loading branch information
DylanVanAssche committed Mar 15, 2024
1 parent aa61811 commit 06d2d54
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 22 deletions.
14 changes: 7 additions & 7 deletions test-cases/RMLSTC0004a/Friends-NULL.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id, name, age
0, Monica Geller, 33
1, Rachel Green, 34
2, Joey Tribbiani, 35
3, Chandler Bing, 36
4, Ross Geller, 37
5,,
id;name;age
0;Monica Geller;33
1;Rachel Green;34
2;Joey Tribbiani;35
3;Chandler Bing;36
4;Ross Geller;37
5;;
2 changes: 2 additions & 0 deletions test-cases/RMLSTC0004a/default.nq
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@
<http://example.org/3> <http://xmlns.com/foaf/0.1/name> "Chandler Bing" .
<http://example.org/4> <http://xmlns.com/foaf/0.1/age> "37" .
<http://example.org/4> <http://xmlns.com/foaf/0.1/name> "Ross Geller" .
<http://example.org/5> <http://xmlns.com/foaf/0.1/age> "" .
<http://example.org/5> <http://xmlns.com/foaf/0.1/name> "" .
14 changes: 7 additions & 7 deletions test-cases/RMLSTC0004b/Friends-NULL.csv
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
id, name, age
0, Monica Geller, 33
1, Rachel Green, 34
2, Joey Tribbiani, 35
3, Chandler Bing, 36
4, Ross Geller, 37
5,,
id;name;age
0;Monica Geller;33
1;Rachel Green;34
2;Joey Tribbiani;35
3;Chandler Bing;36
4;Ross Geller;37
5;;
16 changes: 8 additions & 8 deletions test-cases/RMLSTC0004c/Friends-NULL2.csv
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
id, name, age
0, Monica Geller, 33
1, Rachel Green, 34
2, Joey Tribbiani, 35
3, Chandler Bing, 36
4, Ross Geller, 37
5,,
6,NULL,NULL
id;name;age
0;Monica Geller;33
1;Rachel Green;34
2;Joey Tribbiani;35
3;Chandler Bing;36
4;Ross Geller;37
5;;
6;NULL;NULL

0 comments on commit 06d2d54

Please sign in to comment.