diff --git a/test-cases/RMLTC0024a-CSV/mapping.ttl b/test-cases/RMLTC0024a-CSV/mapping.ttl new file mode 100644 index 0000000..2543f8e --- /dev/null +++ b/test-cases/RMLTC0024a-CSV/mapping.ttl @@ -0,0 +1,15 @@ +@prefix foaf: . +@prefix rml: . + + a rml:TriplesMap; + rml:logicalSource [ a rml:LogicalSource; + rml:referenceFormulation rml:CSV; + rml:source [ a rml:RelativePathSource; + rml:root rml:MappingDirectory; + rml:path "student.csv" + ] + ]; + rml:subjectMap [ + rml:template "http://example.com/{NON_EXISTING_COLUMN}" + rml:class foaf:Person; + ] . diff --git a/test-cases/RMLTC0024a-CSV/student.csv b/test-cases/RMLTC0024a-CSV/student.csv new file mode 100644 index 0000000..4e683bb --- /dev/null +++ b/test-cases/RMLTC0024a-CSV/student.csv @@ -0,0 +1,2 @@ +Name +Venus diff --git a/test-cases/RMLTC0024b-CSV/mapping.ttl b/test-cases/RMLTC0024b-CSV/mapping.ttl new file mode 100644 index 0000000..f35d07c --- /dev/null +++ b/test-cases/RMLTC0024b-CSV/mapping.ttl @@ -0,0 +1,15 @@ +@prefix foaf: . +@prefix rml: . + + a rml:TriplesMap; + rml:logicalSource [ a rml:LogicalSource; + rml:referenceFormulation rml:CSV; + rml:source [ a rml:RelativePathSource; + rml:root rml:MappingDirectory; + rml:path "student.csv" + ] + ]; + rml:subjectMap [ + rml:template "http://example.com/{{Name}}" + rml:class foaf:Person; + ] . diff --git a/test-cases/RMLTC0024b-CSV/student.csv b/test-cases/RMLTC0024b-CSV/student.csv new file mode 100644 index 0000000..e529d02 --- /dev/null +++ b/test-cases/RMLTC0024b-CSV/student.csv @@ -0,0 +1,2 @@ +{Name} +Venus diff --git a/test-cases/RMLTC0024c-CSV/mapping.ttl b/test-cases/RMLTC0024c-CSV/mapping.ttl new file mode 100644 index 0000000..9d25d90 --- /dev/null +++ b/test-cases/RMLTC0024c-CSV/mapping.ttl @@ -0,0 +1,15 @@ +@prefix foaf: . +@prefix rml: . + + a rml:TriplesMap; + rml:logicalSource [ a rml:LogicalSource; + rml:referenceFormulation rml:CSV; + rml:source [ a rml:RelativePathSource; + rml:root rml:MappingDirectory; + rml:path "student.csv" + ] + ]; + rml:subjectMap [ + rml:template "http://example.com/{N\ame}" + rml:class foaf:Person; + ] . diff --git a/test-cases/RMLTC0024c-CSV/student.csv b/test-cases/RMLTC0024c-CSV/student.csv new file mode 100644 index 0000000..cc38e53 --- /dev/null +++ b/test-cases/RMLTC0024c-CSV/student.csv @@ -0,0 +1,2 @@ +N\ame +Venus diff --git a/test-cases/RMLTC0024d-CSV/mapping.ttl b/test-cases/RMLTC0024d-CSV/mapping.ttl new file mode 100644 index 0000000..485aa4a --- /dev/null +++ b/test-cases/RMLTC0024d-CSV/mapping.ttl @@ -0,0 +1,15 @@ +@prefix foaf: . +@prefix rml: . + + a rml:TriplesMap; + rml:logicalSource [ a rml:LogicalSource; + rml:referenceFormulation rml:CSV; + rml:source [ a rml:RelativePathSource; + rml:root rml:MappingDirectory; + rml:path "student.csv" + ] + ]; + rml:subjectMap [ + rml:template "http://example.com/{NON_EXISTING_COLUMN\}" + rml:class foaf:Person; + ] . diff --git a/test-cases/RMLTC0024d-CSV/student.csv b/test-cases/RMLTC0024d-CSV/student.csv new file mode 100644 index 0000000..4e683bb --- /dev/null +++ b/test-cases/RMLTC0024d-CSV/student.csv @@ -0,0 +1,2 @@ +Name +Venus