Hi Srecko,

Check out the examples in the manual!
http://www4.wiwiss.fu-berlin.de/bizer/d2rq/spec/#propertybridge

There is an "Example: Linking instances from two database tables" that shows 
how this can be done in general. However, in your case the property bridge 
needs two d2rq:joins because you want the property to "jump" across three 
tables. You can see an example of that in another example, "Example: Property 
bridge using information from another database table".

Hope that helps,
Richard



On 1 May 2011, at 11:23, Srecko Joksimovic wrote:

> Hi,
> I know that this should be a very simple problem. I’ve read many tutorials, 
> examples, but I’m confused.
>  
> I have 3 simple tables in my database:
>  
> Process
>                 processID
>                 title
>  
> Domain
>                 domainID
>                 title
>                 location
>                 description
>  
> ProcessDomain
>                 domainID
>                 processID
>  
> One domainID is connected to 1 or more processID. I want to create rdf which 
> is going to have classes Process and Domain, where Domain class should have 
> property hasProcesses. So, this should look like this:
> Domain -> hasProcesses -> Process
>  
> As I said, this should be easy, but I’m doing it wrong. I wanted to post a 
> mapping example, but I don’t know which one... I made 10 mapping files, and 
> I’m still doing it wrong.
>  
> If someone could write example, I would be grateful. This is the first step, 
> and I need help to continue.
>  
> Thank you!
>  
> -          Lucky
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd_______________________________________________
> d2rq-map-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to