W3C home > Mailing lists > Public > public-rdb2rdf-comments@w3.org > September 2011

Re: R2RML: classes of triples map only constants

From: Richard Cyganiak <richard@cyganiak.de>
Date: Mon, 26 Sep 2011 08:38:45 +0100
Cc: public-rdb2rdf-comments@w3.org
Message-Id: <5D2903B8-C847-4CF2-8D82-2E3E32BFEC53@cyganiak.de>
To: Ahmed Bassiouni <ahmedbassi@gmail.com>
Hi Ahmed,

See the Note in this section here for an answer:
http://www.w3.org/TR/2011/WD-r2rml-20110920/#typing

Best,
Richard


On 26 Sep 2011, at 03:28, Ahmed Bassiouni wrote:

> Hello,
> 
> During the last couple of days, I started and sort of finished some kind of r2rml representation in Python. I can't say it is an exact r2rml processor implementation. However, I tried to follow the r2rml document during design. Disclaimer: I am not a programmer by profession.
> 
> Something I have noticed: is that the RDF types of a triples map (the "classes"), can only be constants.
> 
> What happens in the scenario where you want a dynamic class, for example column-based. Take this scenario:
> 
> Table Employees:
> Emp_ID: 1234
> EMP_Name: "John Smith"
> EMP_Pay: "PartTimeEmployee"
> 
> You want to assign the triples map two classes: one is Employee (constant) and the other is PartTimeEmployee (derived from a column).
> 
> So I was wondering if you did not have this scenario in mind, or was the design intentional with a dynamic RDFtype assigned only through a separate predicate-object map??
> 
> Cheers,
> Ahmed Bassiouni
> 
Received on Monday, 26 September 2011 07:39:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 26 September 2011 07:39:15 GMT