Skip to content

Commit

Permalink
Small fixes to test cases 0006c and 0006d
Browse files Browse the repository at this point in the history
  • Loading branch information
chrdebru authored and DylanVanAssche committed Mar 18, 2024
1 parent ca28d0f commit 38766e4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 7 deletions.
3 changes: 2 additions & 1 deletion test-cases/RMLSTC0006c/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@
rml:iterator """
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
SELECT ?name ?age WHERE {
SELECT ?id ?name ?age WHERE {
?person foaf:name ?name .
?person foaf:age ?age .
BIND(REPLACE(STR(?person),"http://example.org/", "") AS ?id) .
}
""";
rml:referenceFormulation formats:SPARQL_Results_CSV;
Expand Down
12 changes: 6 additions & 6 deletions test-cases/RMLSTC0006d/Friends.csv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
id, name, age
0, Monica Geller, 33
1, Rachel Green, 34
2, Joey Tribbiani, 35
3, Chandler Bing, 36
4, Ross Geller, 37
id;name;age
0;Monica Geller;33
1;Rachel Green;34
2;Joey Tribbiani;35
3;Chandler Bing;36
4;Ross Geller;37
1 change: 1 addition & 0 deletions test-cases/RMLSTC0006d/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<#TriplesMap> a rml:TriplesMap;
rml:logicalSource [ a rml:LogicalSource;
rml:source <#CSVWSourceAccess>;
rml:referenceFormulation rml:CSV;
];
rml:subjectMap [ a rml:SubjectMap;
rml:template "http://example.org/{id}";
Expand Down

0 comments on commit 38766e4

Please sign in to comment.