Skip to content

Commit

Permalink
fix 2f - use delimited identifiers (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
pmaria committed Mar 4, 2024
1 parent deaf95e commit 5a89ded
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
8 changes: 4 additions & 4 deletions test-cases/RMLTC0002f-MySQL/mapping.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@
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;
Expand Down
12 changes: 6 additions & 6 deletions test-cases/RMLTC0002f-PostgreSQL/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 "org.postgresql.Driver";
d2rq:jdbcDriver "com.mysql.cj.jdbc.Driver";
d2rq:password "";
d2rq:username "postgres" .
d2rq:username "root" .

0 comments on commit 5a89ded

Please sign in to comment.