Hi Brando,

Check out d2rq:dynamicProperty. Use it instead of d2rq:property, and you can 
define a URI pattern for the property.

http://d2rq.org/d2rq-language#d2rq:dynamicProperty

Admittedly, this isn't very clear from the documentation. Will improve it.

Best,
Richard


On 22 Jul 2013, at 09:16, Brando Preda wrote:

> Hello, I'm Brando Preda and I'm a student of University of Milan Bicocca and 
> I'm conducting a project for my university degree in which I am using the d2r 
> server. I am mapping with d2r a relational db to a rdf model. The problem 
> that I encountered is that I don't have the possibility, with the d2r 
> language, to create dynamic properties. In particular I need to map the 
> property name as a value taken from a table's column of the database but I 
> didn't find a way to do it. I tried to do something like "..d2rq:property 
> @@Table.propertyNameNeeded@@.." but this doesn't work. 
> For example I have to map a catalogue of products and I need for each product 
> to map some parameters to it with the corresponding values. I'd like to map 
> the name of each parameter as the name of the property using the name of 
> parameters in the db. 
> I'd like to know which is the reason why it is not possible to map 
> dynamically the properties with the d2r language and, if exists, I'd like to 
> know if it's possible to have a link to a place where you are discussing this 
> problem or something similar.
> Thank you for your attention, best regards Brando Preda
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk_______________________________________________
> d2rq-map-devel mailing list
> d2rq-map-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
d2rq-map-devel mailing list
d2rq-map-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to