Gezim, I’m not sure that I understand where you run into problems.
It sounds to me like you simply need to do this: 1. Use generate-mapping to auto-generate a mapping file for your database 2. Open the generated mapping file in a text editor 3. Look at the d2rq:class and d2rq:property statements in there, and replace the auto-generated classes and properties with references to your own classes and properties from the existing ontology. The resulting mapping file can be used to access the data from your database with D2R Server, and the data will be expressed in terms of the existing ontology. If you run into problems, you need to explain what the problem is. What do you expect to happen, and what actually happens. Any error messages, and so on. Saying “it doesn’t work” is not enough ;-) Best, Richard On 21 Jan 2014, at 15:30, Gezim Sejdiu <g.sej...@gmail.com> wrote: > Hi, > I am working on my master thesis: Ranking web pages semantically- Wikipedia > as a case study. > I have one ontology which is used and adapted for calculating PageRank in > semantic way, and I want to use it, just to adapt for my case, which mean > import Wikipedia pages and pagelinks to this ontology. > A am using D2R server for mapping, which work perfect in case to generate new > ontology, but to link it with existing ontology it replace with new one. > How to map data from sql to ontology into existing ontology, I use one format > but it doesn’t work> > Some of mapping-wikipedia.ttf file> > My ontology name: @prefix base: < > http://localhost/Institute# > > . > Mapping table page to class Web-Site > # Table page > map:page a d2rq:ClassMap; > d2rq:dataStorage map:database; > d2rq:uriPattern "page/@@page.page_id@@"; > d2rq:class base:Web-Site; > it is correct or not.... > Please could you help me on this issue ---- (my main contribution of my > thesis is not this issue but calculation of PageRank in semantic way, but i > need data to populate my ontology (this is part of my thesis). > > > Best regards, > _____________ > Gëzim Sejdiu > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk_______________________________________________ > d2rq-map-devel mailing list > d2rq-map-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ d2rq-map-devel mailing list d2rq-map-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel