To: | "[ontolog-forum]" <ontolog-forum@xxxxxxxxxxxxxxxx> |
---|---|
From: | William Frank <williamf.frank@xxxxxxxxx> |
Date: | Mon, 10 Jun 2013 11:44:09 -0400 |
Message-id: | <CALuUwtDx0c+4TQUb9vmfr97=xw8FFsLWo2HqQyK=duEDv8KQ4g@xxxxxxxxxxxxxx> |
On Mon, Jun 10, 2013 at 4:51 AM, Przemyslaw Jaskierski <przemjaskier@xxxxxxxxx> wrote:
Even when the two subclasses 'Yes', 'No', are constants, and so naturally VAULES?? (I.e, are themselves individuals?) After looking at some good models of similar things in OWL, I am now quite sure that this is not a good practice, just a bad practice that is becoming increasingly common. Your answer below shows you want to create even more bogus classes. I recommend you instead have a type 'Vote Response', and **associate*** vote response with 'vote", instead of subtyping 'vote'. In other words, define a predicate (i.e., and function) on the vote class whose domain is vote and whose range is vote response. The values of the the function when applied to vote individual s will the the individuals 'yes' and 'no'. You will especially find this less disruptive to your model when you want to add other individuals to the vote response type, such as 'abstain'. This way also, other predicates on vote, such as who is the voter, etc. etc., here is a query that lists all the vote responses SELECT * WHERE { ?vote a vote:Vote ; vote:hasResponse ?response } [vote] response
vote:MyVote vote:Yes
vote:YourVote vote:No
-- William Frank 413/376-8167 This email is confidential and proprietary, intended for its addressees only. It may not be distributed to non-addressees, nor its contents divulged, without the permission of the sender. _________________________________________________________________ Message Archives: http://ontolog.cim3.net/forum/ontolog-forum/ Config Subscr: http://ontolog.cim3.net/mailman/listinfo/ontolog-forum/ Unsubscribe: mailto:ontolog-forum-leave@xxxxxxxxxxxxxxxx Shared Files: http://ontolog.cim3.net/file/ Community Wiki: http://ontolog.cim3.net/wiki/ To join: http://ontolog.cim3.net/cgi-bin/wiki.pl?WikiHomePage#nid1J (01) |
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | Re: [ontolog-forum] Laws: physical and social, John F Sowa |
---|---|
Next by Date: | [ontolog-forum] 2nd Call for Participation: CAMP-4-DATA Workshop @ DC-2013, DCMI Announce |
Previous by Thread: | Re: [ontolog-forum] Strange problem with cardinality restrictions, Przemyslaw Jaskierski |
Next by Thread: | Re: [ontolog-forum] Strange problem with cardinality restrictions, Obrst, Leo J. |
Indexes: | [Date] [Thread] [Top] [All Lists] |