-
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 (#137)
* test-cases: RMLTC0024*-CSV: add invalid template test cases Contributes to #79 * shapes: tests: add expected failures for invalid templates
- Loading branch information
1 parent
2a61c20
commit b56b79e
Showing
15 changed files
with
109 additions
and
1 deletion.
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
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/{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/{\\{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 @@ | ||
<http://example.com/Venus> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/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 @@ | ||
<http://example.com/Venus> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://xmlns.com/foaf/0.1/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 |