Merging tools

5 messages Options
Embed this post
Permalink
Faraz Fallahi

Merging tools

Reply Threaded More More options
Print post
Permalink
Hi,

does anybody know a merging tool that takes 2 (or more) ontologys and creates a merged one out of them?

greetings faraz

_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Jean-Marc Vanel-2

Re: Merging tools

Reply Threaded More More options
Print post
Permalink
Hi Faraz

You can try this :
cwm --rdf file1.owl file2.owl --rdf > merged.owl

but it lasts minutes for files of a few Mbytes.
http://www.w3.org/2000/10/swap/doc/cwm.html

Otherwise with a text editor (such as gvim) it is quite simple to copy
all content under a single RDF root element, and remove duplicated
<owl:Ontology> elements.

Or, put the OWL files in a RDF engine such as Sesame or Jena.

Note that the feature File / Gather ... in Protégé 4 just puts
individual files in a new directory.

2009/7/1 Faraz Fallahi <[hidden email]>:

> Hi,
>
> does anybody know a merging tool that takes 2 (or more) ontologys and
> creates a merged one out of them?
>
> greetings faraz
>
> _______________________________________________
> protege-owl mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
>



--
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Faraz Fallahi

Re: Merging tools

Reply Threaded More More options
Print post
Permalink
Hi Jean-Marc,

thank you for your response. cwm isnt suited for me because i cant speak python. I need to import such a tool in eclipse as a plugin and i want to be able to alter code for my special needs. I've used Jena in many parts of my application but ive never thought of it as a merger. Could it be that i misunderstand something at this point?
Ive never thought of mergers as reasoners. Maybe this is a fatal flaw in my understanding?!
Are Mergers the same as Reasoners?
greetings
faraz

P.S.:i'll have a look at Sesam. ive heard about it but i dont know it yet.


2009/7/1 Jean-Marc Vanel <[hidden email]>
Hi Faraz

You can try this :
cwm --rdf file1.owl file2.owl --rdf > merged.owl

but it lasts minutes for files of a few Mbytes.
http://www.w3.org/2000/10/swap/doc/cwm.html

Otherwise with a text editor (such as gvim) it is quite simple to copy
all content under a single RDF root element, and remove duplicated
<owl:Ontology> elements.

Or, put the OWL files in a RDF engine such as Sesame or Jena.

Note that the feature File / Gather ... in Protégé 4 just puts
individual files in a new directory.

2009/7/1 Faraz Fallahi <[hidden email]>:
> Hi,
>
> does anybody know a merging tool that takes 2 (or more) ontologys and
> creates a merged one out of them?
>
> greetings faraz
>
> _______________________________________________
> protege-owl mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
>



--
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03


_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Jean-Marc Vanel-2

Re: Merging tools

Reply Threaded More More options
Print post
Permalink
2009/7/1 Faraz Fallahi <[hidden email]>:
> Hi Jean-Marc,
>
> thank you for your response. cwm isnt suited for me because i cant speak
> python.
I don't either. Once installed, it's just a command line tool. And
just like any executable, you can call it from Java (I do it in
EulerGUI).

> I need to import such a tool in eclipse as a plugin and i want to be
> able to alter code for my special needs. I've used Jena in many parts of my
> application but ive never thought of it as a merger.

This Jena class does the same as CWM :
http://jena.sourceforge.net/javadoc/jena/rdfcat.html
It is designed as command-line tool, but it's Java, and you can call
it from your code.

> Could it be that i
> misunderstand something at this point?
> Ive never thought of mergers as reasoners. Maybe this is a fatal flaw in my
> understanding?!
> Are Mergers the same as Reasoners?

No, Mergers are really simple algos.

> greetings
> faraz
>
> P.S.:i'll have a look at Sesam. ive heard about it but i dont know it yet.
>
>
> 2009/7/1 Jean-Marc Vanel <[hidden email]>
>>
>> Hi Faraz
>>
>> You can try this :
>> cwm --rdf file1.owl file2.owl --rdf > merged.owl
>>
>> but it lasts minutes for files of a few Mbytes.
>> http://www.w3.org/2000/10/swap/doc/cwm.html
>>
>> Otherwise with a text editor (such as gvim) it is quite simple to copy
>> all content under a single RDF root element, and remove duplicated
>> <owl:Ontology> elements.
>>
>> Or, put the OWL files in a RDF engine such as Sesame or Jena.
>>
>> Note that the feature File / Gather ... in Protégé 4 just puts
>> individual files in a new directory.
>>
>> 2009/7/1 Faraz Fallahi <[hidden email]>:
>> > Hi,
>> >
>> > does anybody know a merging tool that takes 2 (or more) ontologys and
>> > creates a merged one out of them?
>> >
>> > greetings faraz
>> >
>> > _______________________________________________
>> > protege-owl mailing list
>> > [hidden email]
>> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
>> >
>> > Instructions for unsubscribing:
>> > http://protege.stanford.edu/doc/faq.html#01a.03
>> >
>> >
>>
>>
>>
>> --
>> Jean-Marc Vanel
>> Consulting, services, training,
>> Rule-based programming, Semantic Web
>> http://jmvanel.free.fr/
>> +33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
>> ( we rarely listen to voice messages, please send a mail instead )
>> _______________________________________________
>> protege-owl mailing list
>> [hidden email]
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
>
>
> _______________________________________________
> protege-owl mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
>



--
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03 
Faraz Fallahi

Re: Merging tools

Reply Threaded More More options
Print post
Permalink
thank you very much Jean Marc i'll probably look into using jena.
whenever i can help you just write me an email and ill try my best :)

btw: we are planning on making a public project site in the near future. As soon its up im going to inform you about it!

greetings faraz

2009/7/1 Jean-Marc Vanel <[hidden email]>
2009/7/1 Faraz Fallahi <[hidden email]>:
> Hi Jean-Marc,
>
> thank you for your response. cwm isnt suited for me because i cant speak
> python.
I don't either. Once installed, it's just a command line tool. And
just like any executable, you can call it from Java (I do it in
EulerGUI).

> I need to import such a tool in eclipse as a plugin and i want to be
> able to alter code for my special needs. I've used Jena in many parts of my
> application but ive never thought of it as a merger.

This Jena class does the same as CWM :
http://jena.sourceforge.net/javadoc/jena/rdfcat.html
It is designed as command-line tool, but it's Java, and you can call
it from your code.

> Could it be that i
> misunderstand something at this point?
> Ive never thought of mergers as reasoners. Maybe this is a fatal flaw in my
> understanding?!
> Are Mergers the same as Reasoners?

No, Mergers are really simple algos.

> greetings
> faraz
>
> P.S.:i'll have a look at Sesam. ive heard about it but i dont know it yet.
>
>
> 2009/7/1 Jean-Marc Vanel <[hidden email]>
>>
>> Hi Faraz
>>
>> You can try this :
>> cwm --rdf file1.owl file2.owl --rdf > merged.owl
>>
>> but it lasts minutes for files of a few Mbytes.
>> http://www.w3.org/2000/10/swap/doc/cwm.html
>>
>> Otherwise with a text editor (such as gvim) it is quite simple to copy
>> all content under a single RDF root element, and remove duplicated
>> <owl:Ontology> elements.
>>
>> Or, put the OWL files in a RDF engine such as Sesame or Jena.
>>
>> Note that the feature File / Gather ... in Protégé 4 just puts
>> individual files in a new directory.
>>
>> 2009/7/1 Faraz Fallahi <[hidden email]>:
>> > Hi,
>> >
>> > does anybody know a merging tool that takes 2 (or more) ontologys and
>> > creates a merged one out of them?
>> >
>> > greetings faraz
>> >
>> > _______________________________________________
>> > protege-owl mailing list
>> > [hidden email]
>> > https://mailman.stanford.edu/mailman/listinfo/protege-owl
>> >
>> > Instructions for unsubscribing:
>> > http://protege.stanford.edu/doc/faq.html#01a.03
>> >
>> >
>>
>>
>>
>> --
>> Jean-Marc Vanel
>> Consulting, services, training,
>> Rule-based programming, Semantic Web
>> http://jmvanel.free.fr/
>> +33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
>> ( we rarely listen to voice messages, please send a mail instead )
>> _______________________________________________
>> protege-owl mailing list
>> [hidden email]
>> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>>
>> Instructions for unsubscribing:
>> http://protege.stanford.edu/doc/faq.html#01a.03
>
>
> _______________________________________________
> protege-owl mailing list
> [hidden email]
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>
>



--
Jean-Marc Vanel
Consulting, services, training,
Rule-based programming, Semantic Web
http://jmvanel.free.fr/
+33 (0)6 89 16 29 52 -- +33 (0)1 39 55 58 16
( we rarely listen to voice messages, please send a mail instead )
_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03


_______________________________________________
protege-owl mailing list
[hidden email]
https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03