-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test-cases: RMLTC0024*-CSV: add invalid template test cases
Contributes to #79
- Loading branch information
1 parent
4fbd135
commit 03c5bf4
Showing
8 changed files
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
|
||
<http://example.com/base/TriplesMap1> 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; | ||
] . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Name | ||
Venus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
|
||
<http://example.com/base/TriplesMap1> 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; | ||
] . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{Name} | ||
Venus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
|
||
<http://example.com/base/TriplesMap1> 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; | ||
] . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
N\ame | ||
Venus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@prefix foaf: <http://xmlns.com/foaf/0.1/> . | ||
@prefix rml: <http://w3id.org/rml/> . | ||
|
||
<http://example.com/base/TriplesMap1> 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; | ||
] . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Name | ||
Venus |