- From: Boris Villazon-Terrazas <bvillazon@fi.upm.es>
- Date: Wed, 29 Feb 2012 17:51:48 +0100
- To: Public-Rdb2rdf-Wg RDB2RDF <public-rdb2rdf-wg@w3.org>
Received on Wednesday, 29 February 2012 16:52:20 UTC
Hi all
I have a trivial question ….
Let's suppose we have the following DDL
CREATE TABLE "Student" (
"Name" varchar(50)
);
and the following R2RML mapping
@prefix rr: <http://www.w3.org/ns/r2rml#> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix ex: <http://example.com/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
@base <http://mappingpedia.org/rdb2rdf/r2rml/tc/> .
<TriplesMap1>
a rr:TriplesMap;
rr:logicalTable [ rr:tableName "\"Student\""; ] ;
rr:subjectMap [ rr:template "http://example.com/{\"Name\"}" ]; <-------------------
rr:predicateObjectMap
[
rr:predicateMap [ rr:constant foaf:name ];
rr:objectMap [ rr:column "\"Name\"" ]
]
.
The question is if it is necessary to include \"\", for the delimited identifiers, when using the rr:template ?
Thanks in advance
Boris
Received on Wednesday, 29 February 2012 16:52:20 UTC