Hi Haklae, http://www4.wiwiss.fu-berlin.de/bizer/D2RQ/spec/#propertybridge
Among the examples in this section, you will find: “Example: Property bridge using information from another database table” “Example: Linking instances from two database tables” You have to combine both these recipes to get a solution for your situation. Hope that helps, Richard On 10 Nov 2010, at 13:50, kim haklae wrote: > 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 -- Linked Data Technologist • Linked Data Research Centre Digital Enterprise Research Institute (DERI), NUI Galway, Ireland http://linkeddata.deri.ie/ skype:richard.cyganiak tel:+353-91-49-5711 ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ d2rq-map-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel
