Hi

I don't know very well Protege, and maybe this list isn't the right venue
for that. But I think the best thing to do is to have three files:

1) The ontology defining classes, properties and axioms (The TBox)
2) The results from dump-rdf (The Abox)
3) An empty ontology, which imports (1) and (2)

I know that Protege has a tab for ontology importing. So, when you open the
ontology (3), both (1) and (2) are loaded.

PS: I poorly used the term "merge" in this context - ontology merging is
another subject. What I meant was, to create an union of both ontologies,
by the process I described above.

Good luck!



--
diogo patrão




On Wed, Jan 22, 2014 at 7:54 AM, Gezim Sejdiu <g.sej...@gmail.com> wrote:

> Hi,
>
> Let say I will marge the ontologies (the existing one and the created one
> from D2R dump-rdf package), I try to marge/map ontologies with Prompt tab.
>
> During this process I have question:
>
> 1.       How can I marge/map classes
>
> 2.       How can I marge/map instances to the mapped/marge class (import
> instances from dest. Ontology to my source ontology).
>
> Let say I have class Web-Site (no instance is there), I want to map it
> with class Page (here exist some instances). I want to map class Page and
> to import all instances from class Page to class Web-Site to my ontology.
>
> I am trying but is doesn’t import instances in that page, it allow me to
> import instances individually but not in specific class.
>
> Does anyone map and import instances with that tab or I need to create
> SWRL rules to import instances after I will marge ontologies.
>
>
> Best regards,
>
> _____________
>
> *Gëzim Sejdiu*
>
>
> On Tue, Jan 21, 2014 at 5:22 PM, Diogo FC Patrao <djogopat...@gmail.com>wrote:
>
>> Hi Gezim
>>
>> I had the same issue some time ago and I don't think there's a way to do
>> it.
>>
>> Do you really need dynamic access to SQL data? If not, you could use
>> rdf-dump (which is in D2R package) to generate another static file and then
>> merge them.
>>
>> Cheers,
>>
>>
>>
>>
>>
>> --
>> diogo patrão
>>
>>
>>
>>
>> On Tue, Jan 21, 2014 at 1:30 PM, 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

Reply via email to