adding instances to the Entity and search

3 messages Options
Embed this post
Permalink
Kalika Patil

adding instances to the Entity and search

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi,

I am currently creating various Ontologies inluding Hotel ontology using Protege 4.0.

Suppose Hotel isA Thing.
In my Hotel entity, I have added various sub entities like Rooms, Services etc.

For the Hotel entity, I want to add instances eg. Taj, Oberoi.(names of the hotels)
And I want to build a query such that -
 want to search all my Ontologies and return only Entity which has instance = "Taj"
i.e. it should return Hotel as a query output.

What kind of structure do I need to prepare; then how can I query using DL Query tab.

Please help.




From cricket scores to your friends. Try the Yahoo! India Homepage!
_______________________________________________
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
Timothy Redmond

Re: adding instances to the Entity and search

Reply Threaded More More options
Print post
Permalink

You can enter

        { Taj }

as the expression in the dl query tab and ask for all superclasses.

-Timothy



On Oct 28, 2009, at 5:10 AM, Kalika Patil wrote:

> Hi,
>
> I am currently creating various Ontologies inluding Hotel ontology  
> using Protege 4.0.
>
> Suppose Hotel isA Thing.
> In my Hotel entity, I have added various sub entities like Rooms,  
> Services etc.
>
> For the Hotel entity, I want to add instances eg. Taj, Oberoi.(names  
> of the hotels)
> And I want to build a query such that -
> want to search all my Ontologies and return only Entity which has  
> instance = "Taj"
> i.e. it should return Hotel as a query output.
>
> What kind of structure do I need to prepare; then how can I query  
> using DL Query tab.
>
> Please help.
>
>
>
> From cricket scores to your friends. Try the Yahoo! India Homepage!
> _______________________________________________
> 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
Kalika Patil

Re: adding instances to the Entity and search

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi
Thanks it worked.

Does Protege support query similarto SQL 'like' query.
example: give output for instances like "Ta" (like java substring)

- Kalika


From: Timothy Redmond <[hidden email]>
To: User support for the Protege-OWL editor <[hidden email]>
Sent: Wed, 28 October, 2009 10:59:24 PM
Subject: Re: [protege-owl] adding instances to the Entity and search


You can enter

    { Taj }

as the expression in the dl query tab and ask for all superclasses.

-Timothy



On Oct 28, 2009, at 5:10 AM, Kalika Patil wrote:

> Hi,
>
> I am currently creating various Ontologies inluding Hotel ontology using Protege 4.0.
>
> Suppose Hotel isA Thing.
> In my Hotel entity, I have added various sub entities like Rooms, Services etc.
>
> For the Hotel entity, I want to add instances eg. Taj, Oberoi.(names of the hotels)
> And I want to build a query such that -
>     want to search all my Ontologies and return only Entity which has instance = "Taj"
>     i.e. it should return Hotel as a query output.
>
> What kind of structure do I need to prepare; then how can I query using DL Query tab.
>
> Please help.
>
>
>
> From cricket scores to your friends. Try the Yahoo! India Homepage!_______________________________________________
> 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


Try the new Yahoo! India Homepage. Click here.
_______________________________________________
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