Hi Stefan,

I haven't really worked with XML payloads in a database, but I guess you can 
write SQL expressions that extract each of the properties you are interested 
in? Like a SQL expression that uses an XPath function?

If that is possible, then you could proceed like this: Define one property 
bridge for each property that you want to extract. Use d2rq:sqlExpression 
(instead of d2rq:column) on those property bridges to get the value.

There isn't really an easier way, unless you can somehow automate the process 
of generating that part of the mapping file.

I'm also not sure about performance.

Best,
Richard


On 24 Sep 2013, at 13:50, Albracht, Stefan wrote:

> Hi,
> 
> The database I want to map to RDF contains a column in which there is a 
> medium size XML (a few thousand caracters). In that XML I can find things 
> like dc:title, dc:creator and so on.
> 
> What is the easiest way to extract those dc tags and map them into my RDF 
> model?
> 
> 
> Thanks,
> Stefan
> 
> 
> ------------------------------------------------------------------------------
> October Webinars: Code for Performance
> Free Intel webinars can help you accelerate application performance.
> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
> the latest Intel processors and coprocessors. See abstracts and register >
> http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk_______________________________________________
> d2rq-map-devel mailing list
> d2rq-map-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&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