Skip to content

Commit

Permalink
fix 2f-SQLServer - use delimited identifiers (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaria authored and DylanVanAssche committed Mar 5, 2024
1 parent 8ed60fa commit 94b3d76
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions test-cases/RMLTC0002f-SQLServer/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,26 @@
rml:logicalSource [
rml:referenceFormulation rml:SQL2008Table;
rml:source <http://example.com/base/#DB_source>;
rml:iterator "Student"
rml:iterator "\"Student\""
];
rml:predicateObjectMap [
rml:objectMap [
rml:reference "ID"
rml:reference "\"ID\""
];
rml:predicate ex:id
], [
rml:objectMap [
rml:reference "Name"
rml:reference "\"Name\""
];
rml:predicate foaf:name
];
rml:subjectMap [
rml:class foaf:Person;
rml:template "http://example.com/{ID}/{Name}"
rml:template "http://example.com/{\"ID\"}/{\"Name\"}"
] .

<http://example.com/base/#DB_source> a d2rq:Database;
d2rq:jdbcDSN "CONNECTIONDSN";
d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver";
d2rq:password "YourSTRONG!Passw0rd;";
d2rq:username "sa" .
d2rq:jdbcDriver "com.mysql.cj.jdbc.Driver";
d2rq:password "";
d2rq:username "root" .

0 comments on commit 94b3d76

Please sign in to comment.