[protege-owl] OWL Properties

classic Classic list List threaded Threaded
14 messages Options
Reply | Threaded
Open this post in threaded view
|

[protege-owl] OWL Properties

Rishi Uconn
Hello Group
 
I am using protege OWL editor for the first time. I am trying to develop ontology for respiratory diseases. I am able to develop OWL classes and subclass, but I am having problems associating properties to the class. For example , the disease common cold have the following symptoms " Sneezing, coughing, sniffing, running nose, nasal congestion, scratchy throat, headache".  how to represent this symptoms as properties for the class common cold.  I hope you got my point. One more thing, Where can I find other problem discusion and their replies.

Thank You



--
Rishi Kanth

_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Jorge García (aka Bardok)
Hi Rishi,

I would do the following:

1) Create a "disease" class
2) Create a "symptom" class
3) Create a property "symptomatology" (domain: disease; range: symptom)
4) Create the individuals for "symptom" (i.e.: Sneezing, coughing,
sniffing, running nose, nasal congestion, scratchy throat, headache)
5) Create the individuals for "disease" (e.g.: common cold)
6) Set the values to the "symptomatology" property of "common cold"
selecting the individuals of "symptom" suitable for the disease
7) Repeat for the rest of diseases and symptoms

Regards:

        Bdk

--
------------------------------------------------------------
  Jorge García (aka Bardok)
  URL: http://www.bardok.net
  email: bardok AT telefonica DOT net
        shadow AT bardok DOT net
------------------------------------------------------------
  "I do not feel obliged to believe
  that the same God who has endowed us
  with sadness, reason and intellect
  has intended us to forgo their use"
   - Galielo Galilei -
                Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Rishi Uconn
Hey
Thank You for giving me an idea. Can you explain me more about this "individuals" for a class stuff. if possible can you give me example in java and comparing with it. 
 
Thank You 

 
On 1/30/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
Hi Rishi,

I would do the following:

1) Create a "disease" class
2) Create a "symptom" class
3) Create a property "symptomatology" (domain: disease; range: symptom)
4) Create the individuals for "symptom" (i.e.: Sneezing, coughing,
sniffing, running nose, nasal congestion, scratchy throat, headache)
5) Create the individuals for "disease" (e.g.: common cold)
6) Set the values to the "symptomatology" property of "common cold"
selecting the individuals of "symptom" suitable for the disease
7) Repeat for the rest of diseases and symptoms

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:   http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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



--
Rishi Kanth
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Jorge García (aka Bardok)
Hi Rishi,

It is the third time I send this links to this list in a week, hehe, I
hope nobody cares, but it is the only available example I've got on-line ;)

I've got a couple of simple examples here:

* Books ontology:
http://www.bardok.net/ontologies/2007/1/books.owl

* Instances for the Books ontology:
http://www.bardok.net/ontologies/2007/1/bookInstances.owl

(The following three are still in development)

* Books ontology in spanish:
http://www.bardok.net/ontologies/2007/1/libros.owl

* Instances for the Books ontology in spanish:
http://www.bardok.net/ontologies/2007/1/librosInstances.owl

* Ontology to make a sematic equivalence between the two "books" ontologies:
http://www.bardok.net/ontologies/2007/1/books_libros.owl

In the "books ontology", the classes of the ontology are defined (it
would be similar to declaring the classes in Java). Then, in the
"Instances for the Books ontology", some instances for the classes
"book", "author", etc. are defined (similar to creating objects of each
class in Java).

In the examples you can also see some object properties which could be
seen as something similar to what I told in my previous mail: e.g., an
author may have written many books (just the same may happen with a
disease and its symptoms).

The ontologies have been developed with Protege, so you can download and
open them without problem.

Regards:

        Bdk

--
------------------------------------------------------------
  Jorge García (aka Bardok)
  URL: http://www.bardok.net
  email: bardok AT telefonica DOT net
        shadow AT bardok DOT net
------------------------------------------------------------
  "I do not feel obliged to believe
  that the same God who has endowed us
  with sadness, reason and intellect
  has intended us to forgo their use"
   - Galielo Galilei -
                Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Rishi Uconn
Hey One more doubt
 
How can we represent series of strings in OWL. like if i want to define ABC as, " ABC is defined as combination of XYZ and PQR, and is basically happens because of DEF". How can I do it. As you said I tried defining a class Definition and then having individuals for it ...but how to represent such long combination of strings.
 
Thank You

 
On 1/30/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
Hi Rishi,

It is the third time I send this links to this list in a week, hehe, I
hope nobody cares, but it is the only available example I've got on-line ;)

I've got a couple of simple examples here:

* Books ontology:
http://www.bardok.net/ontologies/2007/1/books.owl

* Instances for the Books ontology:
http://www.bardok.net/ontologies/2007/1/bookInstances.owl

(The following three are still in development)

* Books ontology in spanish:
http://www.bardok.net/ontologies/2007/1/libros.owl

* Instances for the Books ontology in spanish:
http://www.bardok.net/ontologies/2007/1/librosInstances.owl

* Ontology to make a sematic equivalence between the two "books" ontologies:
http://www.bardok.net/ontologies/2007/1/books_libros.owl

In the "books ontology", the classes of the ontology are defined (it
would be similar to declaring the classes in Java). Then, in the
"Instances for the Books ontology", some instances for the classes
"book", "author", etc. are defined (similar to creating objects of each
class in Java).

In the examples you can also see some object properties which could be
seen as something similar to what I told in my previous mail: e.g., an
author may have written many books (just the same may happen with a
disease and its symptoms).

The ontologies have been developed with Protege, so you can download and
open them without problem.

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:  http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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



--
Rishi Kanth
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Jorge García (aka Bardok)
This is a little "pseudocode", but may be of help:

You define a class "Class_C"

Class_C
        - Poperty "name" (datatype, string, functional -one value-)
        - Property "defined_as" (datatype, string, admits multiple values)
        - Property "happens_because_of" (datatype, string, admits multiple values)

In triples it would be, more or less -not really accurate, but
understandable, I think-:

(Class_C,type,Class)
(name,type,datatypeproperty)
(name,type,functionalproperty)
(name,domain,Class_C)
(name,range,string)
(defined_as,type,datatypeproperty)
(defined_as,domain,Class_C)
(defined_as,range,string)
(happens_because_of,type,datatypeproperty)
(happens_because_of,domain,Class_C)
(happens_because_of,range,string)

You create an instance of class C:

(Instante_1,type,Class_C)
(Instance_1,name,"ABC")
(Instance_1,defined_as,"XYZ")
(Instance_1,defined_as,"PQR")
(Instance_1,happens_because_of,"DEF")

Regards:

        Bdk

--
------------------------------------------------------------
  Jorge García (aka Bardok)
  URL: http://www.bardok.net
  email: bardok AT telefonica DOT net
        shadow AT bardok DOT net
------------------------------------------------------------
  "I do not feel obliged to believe
  that the same God who has endowed us
  with sadness, reason and intellect
  has intended us to forgo their use"
   - Galielo Galilei -
                Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Rishi Uconn
Thank you.
 One more issue, When I am running Racer Pro to check the consistency of the ontology I am getting an error saying: " DIG Reasoner Error: No Integer Found in Value Expression [ID:]". whats happening. Can you tell me why do I get this error and How Can I solve it.
 


 
On 1/31/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
This is a little "pseudocode", but may be of help:

You define a class "Class_C"

Class_C
       - Poperty "name" (datatype, string, functional -one value-)
       - Property "defined_as" (datatype, string, admits multiple values)
       - Property "happens_because_of" (datatype, string, admits multiple values)

In triples it would be, more or less -not really accurate, but
understandable, I think-:

(Class_C,type,Class)
(name,type,datatypeproperty)
(name,type,functionalproperty)
(name,domain,Class_C)
(name,range,string)
(defined_as,type,datatypeproperty)
(defined_as,domain,Class_C)
(defined_as,range,string)
(happens_because_of,type,datatypeproperty)
(happens_because_of,domain,Class_C)
(happens_because_of,range,string)

You create an instance of class C:

(Instante_1,type,Class_C)
(Instance_1,name,"ABC")
(Instance_1,defined_as,"XYZ")
(Instance_1,defined_as,"PQR")
(Instance_1,happens_because_of,"DEF")

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:  http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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



--
Rishi Kanth
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Jorge García (aka Bardok)
I've never used Racer, sorry...

Regards:

        Bdk

--
------------------------------------------------------------
  Jorge García (aka Bardok)
  URL: http://www.bardok.net
  email: bardok AT telefonica DOT net
        shadow AT bardok DOT net
------------------------------------------------------------
  "I do not feel obliged to believe
  that the same God who has endowed us
  with sadness, reason and intellect
  has intended us to forgo their use"
   - Galielo Galilei -
                Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Rishi Uconn
ok. Can you direct me to a right person whom you know.

On 2/1/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
I've never used Racer, sorry...

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:  http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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



--
Rishi Kanth
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Rishi Uconn
Hey one more question. Can we represent  series of strings in OWL. like " Health Care Professional will check lungs, neck heartbeat etc".


 
On 2/1/07, Rishi <[hidden email]> wrote:
ok. Can you direct me to a right person whom you know.


On 2/1/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
I've never used Racer, sorry...

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:  <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.bardok.net/" target="_blank">http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
protege-owl mailing list
[hidden email]
<a onclick="return top.js.OpenExtLink(window,event,this)" href="https://mailman.stanford.edu/mailman/listinfo/protege-owl" target="_blank">https://mailman.stanford.edu/mailman/listinfo/protege-owl

Instructions for unsubscribing: <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://protege.stanford.edu/doc/faq.html#01a.03" target="_blank">http://protege.stanford.edu/doc/faq.html#01a.03



--
Rishi Kanth



--
Rishi Kanth
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Doug Holmes
In reply to this post by Rishi Uconn
Rishi,
Try "Contact" at www.racer-systems.com  or email [hidden email] 
Doug

On Feb 1, 2007, at 6:36 AM, Rishi wrote:

ok. Can you direct me to a right person whom you know.

On 2/1/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
I've never used Racer, sorry...

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:  http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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



--
Rishi Kanth
_______________________________________________
protege-owl mailing list

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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Rishi Uconn
In reply to this post by Jorge García (aka Bardok)
hey .
how does defining a instance be helpful. is it necessary that every class defined in ontology should have a instance.
Thank You

 
On 1/31/07, "Jorge García (aka Bardok)" <[hidden email]> wrote:
This is a little "pseudocode", but may be of help:

You define a class "Class_C"

Class_C
       - Poperty "name" (datatype, string, functional -one value-)
       - Property "defined_as" (datatype, string, admits multiple values)
       - Property "happens_because_of" (datatype, string, admits multiple values)

In triples it would be, more or less -not really accurate, but
understandable, I think-:

(Class_C,type,Class)
(name,type,datatypeproperty)
(name,type,functionalproperty)
(name,domain,Class_C)
(name,range,string)
(defined_as,type,datatypeproperty)
(defined_as,domain,Class_C)
(defined_as,range,string)
(happens_because_of,type,datatypeproperty)
(happens_because_of,domain,Class_C)
(happens_because_of,range,string)

You create an instance of class C:

(Instante_1,type,Class_C)
(Instance_1,name,"ABC")
(Instance_1,defined_as,"XYZ")
(Instance_1,defined_as,"PQR")
(Instance_1,happens_because_of,"DEF")

Regards:

       Bdk

--
------------------------------------------------------------
Jorge García (aka Bardok)
URL:  http://www.bardok.net
email:        bardok AT telefonica DOT net
       shadow AT bardok DOT net
------------------------------------------------------------
"I do not feel obliged to believe
that the same God who has endowed us
with sadness, reason and intellect
has intended us to forgo their use"
  - Galielo Galilei -
               Haggard - The Observer
------------------------------------------------------------
_______________________________________________
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



--
Rishi Kanth
_______________________________________________
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 
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

Jorge García (aka Bardok)
A class is a "General concept", e.g., a disease, a book, etc. In order to use
each class, you must create instances of each class, this is, individuals
which accomodate to the class: a certain disease is an instance of the class
disease, had it has certain values for its attributes, and an unique URI
which identifies it (in OWL).

Regards:

        Bdk

--
---------------------------------------------------------
 Jorge García (aka Bardok)
 URL: http://www.bardok.net
 email: bardok AT telefonica DOT net
  shadow AT bardok DOT net
---------------------------------------------------------
 "I do not feel obliged to believe
 that the same God who has endowed us
 with sadness, reason and intellect
 has intended us to forgo their use"
 - Galileo Galilei -
  Haggard - The Observer
---------------------------------------------------------

_______________________________________________
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 

attachment0 (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: [protege-owl] OWL Properties

m.fahad
In reply to this post by Rishi Uconn
while working with functional and inverse-infunctional properties, i have some confusion about owl's expressivity. in owl, functional property is one that has just one value for the paritcular subject. and Inverse-functional property is one that uniquely determines the subject. but the question is that: Do they must exist for the concept. why Protege does not restrict inverse functional property to have unique value??
i anyone knows, do tel whether they are complusory or not?> i mean when DB restricts primary key not to have similar values then protege or owl should do also?? if these tags dont restrict then is there any other tag in owl which does the same...

regard, fahad
Rishi-6 wrote
hey .
how does defining a instance be helpful. is it necessary that every class
defined in ontology should have a instance.
Thank You


On 1/31/07, "Jorge García (aka Bardok)" <bardok@telefonica.net> wrote:
>
> This is a little "pseudocode", but may be of help:
>
> You define a class "Class_C"
>
> Class_C
>        - Poperty "name" (datatype, string, functional -one value-)
>        - Property "defined_as" (datatype, string, admits multiple values)
>        - Property "happens_because_of" (datatype, string, admits multiple
> values)
>
> In triples it would be, more or less -not really accurate, but
> understandable, I think-:
>
> (Class_C,type,Class)
> (name,type,datatypeproperty)
> (name,type,functionalproperty)
> (name,domain,Class_C)
> (name,range,string)
> (defined_as,type,datatypeproperty)
> (defined_as,domain,Class_C)
> (defined_as,range,string)
> (happens_because_of,type,datatypeproperty)
> (happens_because_of,domain,Class_C)
> (happens_because_of,range,string)
>
> You create an instance of class C:
>
> (Instante_1,type,Class_C)
> (Instance_1,name,"ABC")
> (Instance_1,defined_as,"XYZ")
> (Instance_1,defined_as,"PQR")
> (Instance_1,happens_because_of,"DEF")
>
> Regards:
>
>        Bdk
>
> --
> ------------------------------------------------------------
> Jorge García (aka Bardok)
> URL:  http://www.bardok.net
> email:        bardok AT telefonica DOT net
>        shadow AT bardok DOT net
> ------------------------------------------------------------
> "I do not feel obliged to believe
> that the same God who has endowed us
> with sadness, reason and intellect
> has intended us to forgo their use"
>   - Galielo Galilei -
>                Haggard - The Observer
> ------------------------------------------------------------
> _______________________________________________
> protege-owl mailing list
> protege-owl@lists.stanford.edu
> https://mailman.stanford.edu/mailman/listinfo/protege-owl
>
> Instructions for unsubscribing:
> http://protege.stanford.edu/doc/faq.html#01a.03
>



--
Rishi Kanth

_______________________________________________
protege-owl mailing list
protege-owl@lists.stanford.edu
https://mailman.stanford.edu/mailman/listinfo/protege-owl

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