Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Creating restrictions on a class based on properties

David A Lucas dlucas8 at jhu.edu
Tue Sep 25 09:39:16 PDT 2007


 

I am trying to create a class that has 2 properties associated with it.
This class must have at least one or the other set to something but can also
have both set.  Can anyone explain how I might be able to achieve this
outcome.

 

Eg.

(hasTopping=1) OR (hasSauce =1) OR (hasSauce=1 AND hasTopping=1)

 

---to have a pizza the restriction would be to have at least a one topping
or at least one sauce, but the pizza could also have both a topping and a
sauce.

 

 

Thanks

 

Aaron

_______________________________________________  

David Aaron Lucas
Software Engineer

Center for Cardiovascular Bioinformatics and Modeling
Institute for Computational Medicine
Johns Hopkins University 
Computer Science and Engineering Building Room 214
3400 North Charles Street 
Baltimore, MD 21218-2686

Phone: 410-616-8616

fax: 410-516-5294

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.stanford.edu/pipermail/protege-discussion/attachments/20070925/4dfb1d93/attachment.html>


More information about the protege-discussion mailing list