Calling Protege-OWL API functions in my application.

2 messages Options
Embed this post
Permalink
Saumi Bulathsinghe

Calling Protege-OWL API functions in my application.

Reply Threaded More More options
Print post
Permalink
Hi all,

I'm new to this mail list as well as Protege-OWL API.

My question is I want to use functionalities of Protege-OWL API to query and traverse the content of an ontology. i do not want to make a plugin but i want to call those functions in my application. 

Please tell me how to do this such as weather i need to install the protege to do this or weather i can just call the classes that has been created.

if i can't do this please tell me a place to find the code to traverse and querry OWL ontology as it is urgent.

Thank you.

Dilshara 

_______________________________________________
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 
Thomas Russ

Re: Calling Protege-OWL API functions in my application.

Reply Threaded More More options
Print post
Permalink

On Jul 2, 2009, at 6:30 AM, Saumi Bulathsinghe wrote:

> Hi all,
>
> I'm new to this mail list as well as Protege-OWL API.
>
> My question is I want to use functionalities of Protege-OWL API to  
> query and traverse the content of an ontology. i do not want to make  
> a plugin but i want to call those functions in my application.

That is certainly possible.
I often prototype code for plugins by doing command-line versions  
first, before I work on the GUI.

> Please tell me how to do this such as weather i need to install the  
> protege to do this or weather i can just call the classes that has  
> been created.

Well, you need to install Protege at least to the point where you get  
the proper Java jar files installed.

Once you have the jar files, you can run the code without needing to  
start the Java application.

You will need to add the following jar files to your classpath:

    protege-directory/*.jar
    protege-directory/plugins/edu.stanford.smi.protegex.owl/*.jar

Then you can use any of the classes and methods in the Protege-OWL API.

> if i can't do this please tell me a place to find the code to  
> traverse and querry OWL ontology as it is urgent.

Your other choice would be to use the OWL-API to work with your OWL  
ontology.

   http://owlapi.sourceforge.net/


_______________________________________________
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