This section also covers some of the questions you raise - I think it's valid regardless of whether you use Semantic Forms:

http://www.mediawiki.org/wiki/Extension:Semantic_Forms#Data_design_issues

Among other things, it recommends that "children" point to "parents", and not the other way around - in your case, it would be menu items having a "Has restaurant" property, etc.

-Yaron


On Wed, Dec 17, 2008 at 2:08 PM, Tempich, Christoph, Dr. <Christoph.Tempich@detecon.com> wrote:

Hi Mat,

I guess the dicussion some time ago

http://www.nabble.com/Guidelines-for-%22knowledge-modelling%22-in-SMW--td20606617.html

might help you. At least as a starting point.

Christoph

-----Ursprüngliche Nachricht-----
Von: Mat Mikul [mailto:mat.mikul@gmail.com]
Gesendet: Mittwoch, 17. Dezember 2008 19:25
An: semediawiki-user@lists.sourceforge.net
Betreff: [Semediawiki-user] Category versus Property


Hi,

I am trying to move my web based backend to instead use mediawiki. I am trying to figure out what to use - category versus property at a high level.
Is there a tutorial of some kind available somewhere?

My top level class is Restaurant and I therefore have a database table today by that name. For each Restaurant, I have menu items. And for each menu item I have ingredients.

This is implemented today as a 3 table database. Now I'm trying to move to semantic mediawiki (with semantic forms). I create Restaurant as a category and similarly Menu Item as a category and Ingredient as a category. In order to establish connections between them, I guess I should use property right?
Like each Ingredient having a property Menu Item and each Menu Item having a property - Restaurant? Or is it that the Restaurant has a property Menu Item? Or is Menu Item a subcategory of the category Restaurant?

Thank you
Mat
--
View this message in context: http://www.nabble.com/Category-versus-Property-tp21058582p21058582.html
Sent from the Semantic Mediawiki - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Semediawiki-user mailing list
Semediawiki-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/semediawiki-user