> I have a mysql database called cadastre which contains a table called as plots.
> the plots table cosists of the following attributes
> 1.plot_id (primary key)
> 2.owner name
> Now i have to create an ontology where the above attributes of the table plots, are classes.
> i want to create relationships and restrictions.
> the database tuples must be instances of the above attributes.
> I will be writing rules in SWRL
> for example: Plot(?p) ∧ Area(?area) ∧ has_area(?p, ?area) ∧ swrlb:lessThanOrEqual(?area, 27) → tax(tax_slab1)
> i want to define a class named tax.
> where there are 5 tax slabs which may be sub class of the tax class.
> so now my sqwrl queries
> i want to know plot of plot_id xyz has area abc belongs to and the answer will be calculated according to the swrl
> queries and i will be getting a tax slab.
> This is the idea of my objective. Please help with steps i should follow
> thank you
> shreyes shiv
> email: [hidden email] <mailto:[hidden email]>
> phone: 9557975780
> IIRS(Indian Institute of Remote Sensing)
> No. 4, Kalidas Road, Dehradun-248001, Uttarakhand, India
> 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
Have you configured Data master tab?
If no open Protege 3.4.4..Go to Project ---->Configure---->Tick mark the Data master Tab.
You will see 4 labels
Data master has built in support for MySql JDBC Driver.
Here you give the link of your database you have created on Localhost:3306
Username: Most of the times it is root or the one you have given.
Password:The password given by you while installing MySql.
It will connect to the database you created showing all tables and Fields.
hope it will be helpful to you.