Hi Richard,

I have a particular situation to make a mapping file.
Let me explain table relations on RDB.

Table: Profile (for storing user profile)
Profile_ID
Profile_Name

Table: Relation (for storing relations between users)
Profile_ID_1
Profile_ID_2

There is a function to share their profiles between users.
If user "A" shares her profile to user "B" and "C", the tables could have
following data.

Table: Profile
Profile_ID: 1, Profile_Name: A
Profile_ID: 2, Profile_Name: B
 Profile_ID: 3, Profile_Name: C

Table: Relation
Profile_ID_1: 1, Profile_ID_2: 2
 Profile_ID_1: 1, Profile_ID_2: 3

So, what I want to describe is that A foaf:knows B and foaf:knows C or 1
foaf:knows 2 and foaf:knows 3 from the tables.
I didn't know how I can describe this relation in a mpping file. Is it
possible?

Thanks in advance.

Haklae
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
d2rq-map-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel

Reply via email to