[topicmapmail] Pizza ontology in Topic Maps? in CTM?

21 views
Skip to first unread message

marijane white

unread,
Dec 9, 2011, 3:29:25 PM12/9/11
to TopicMapMail
Hello Topic Mappers,

So I have this new job where I get to build models, but my employer uses OWL-DL rather than Topic Maps.  I definitely think about modeling in Topic Maps, so I've been scaling the RDF/OWL learning curve, and one of the things I've done to that end is walk through the Manchester Pizza Tutorial for OWL [1],which seems like a good introduction, despite the fact that the pizza ontology itself seems somewhat flawed.

Earlier this week, it occurred to me to try recreating the pizza ontology in Topic Maps, to help cement my understanding of both technologies, and maybe also bring my TM skills up to date by learning CTM, because so far the topic maps I've created by hand have been in XTM 1.0.   I got as far as faithfully recreating the tutorial's hierarchy of pizzas, toppings, and bases, but when I hit the part about modeling hasIngredient relationships between pizzas and their toppings or bases, I was like, "Wait a minute -- isn't a pizza really as association between a crust and some toppings?"  I'm not sure if this is really true. I've been chewing on it for a couple of days now, and I thought I'd come here and ask y'all about it.

So, my questions:
- Has anyone here ever done the pizza tutorial for OWL?
- Has anyone here ever tried implementing the examples in the pizza tutorial as a topic map?  Is this a silly idea?
- Do you think the idea that a pizza is an association between a crust and some toppings seems like an appropriate way to model a pizza?
- If so, how would you express this in CTM?  I'm struggling with how to identify instances of associations, and also it's not clear to me if CTM supports n-ary associations.

For example, how about a pepperoni pizza?
pizza(base: Thin_and_Crispy, topping: Mozzarella, topping: Pepperoni)
Or maybe a margherita pizza?
pizza(base: Thin_And_Crispy, topping: Mozzarella, topping: Tomato, topping: Basil)

Is this allowed?  Is it a bad idea?  Do I need to try a different modeling approach? 
If I wanted to refer to these instances by name elsewhere in the topic map, how do I do that?  Add a reifier? 
How about adding scoped names to the association roles?

I think I know how I would do these things in XTM 1.0 but it's not yet clear if I can or should do them in CTM.  (I have a suspicion some of the modeling habits I developed using XTM 1.0 might be considered poor modeling practice.)


Thanks for any assistance anyone might be able to provide.

-marijane

[1] - http://owl.cs.manchester.ac.uk/tutorials/protegeowltutorial/

Graham Moore

unread,
Dec 10, 2011, 1:01:54 AM12/10/11
to marijane white, TopicMapMail
Hi Mariiane,

My suggestion would be to try and describe the pizza ontology using
the constructs in TMCL. (http://www.isotopicmaps.org/tmcl/tmcl.html).
TMCL contains ontology constructs that can be expressed as a topicmap
and the examples in the standard all use CTM. You should find many
things in TMCL that you have seen in OWL.

Lars Marius has a tutorial on TMCL,
http://www.garshol.priv.no/blog/180.html, and I am only mildly
offended by his main photo! :)

Graham

> _______________________________________________
> topicmapmail mailing list
> topicm...@infoloom.com
> http://www.infoloom.com/mailman/listinfo/topicmapmail
>

--
Graham Moore, Director, Networked Planet Limited
Editor XTM 1.0, ISO13250 (TopicMaps) -2,-3, TMCL
e: graham...@networkedplanet.com
w: www.networkedplanet.com
t: +44 1865 811131
m: +47 90056479   (Norway)

Networked Planet Limited is registered in England and Wales, no. 5273377
_______________________________________________
topicmapmail mailing list
topicm...@infoloom.com
http://www.infoloom.com/mailman/listinfo/topicmapmail

Lars Marius Garshol

unread,
Dec 13, 2011, 9:02:41 AM12/13/11
to TopicMapMail

* Graham Moore
>
> ... and I am only mildly offended by his main photo! :)

And I only feel mildly sad on seeing the second.

--Lars M.
http://www.garshol.priv.no/tmphoto/
http://www.garshol.priv.no/blog/

Patrick Durusau

unread,
Dec 13, 2011, 3:39:44 PM12/13/11
to topicm...@infoloom.com
Graham,

On 12/10/2011 01:01 AM, Graham Moore wrote:
> Hi Mariiane,
>
> My suggestion would be to try and describe the pizza ontology using
> the constructs in TMCL. (http://www.isotopicmaps.org/tmcl/tmcl.html).
> TMCL contains ontology constructs that can be expressed as a topicmap
> and the examples in the standard all use CTM. You should find many
> things in TMCL that you have seen in OWL.
>
> Lars Marius has a tutorial on TMCL,
> http://www.garshol.priv.no/blog/180.html, and I am only mildly
> offended by his main photo! :)
>

Thanks!

To Marijane - It took me a minute to notice there was anything unusual
about the photo.

Be forewarned about standards work. ;-)

Hope you are having a great day!

Patrick


--
Patrick Durusau
pat...@durusau.net
Chair, V1 - US TAG to JTC 1/SC 34
Convener, JTC 1/SC 34/WG 3 (Topic Maps)
Editor, OpenDocument Format TC (OASIS), Project Editor ISO/IEC 26300
Co-Editor, ISO/IEC 13250-1, 13250-5 (Topic Maps)
OASIS Technical Advisory Board (TAB) - member

Another Word For It (blog): http://tm.durusau.net
Homepage: http://www.durusau.net
Twitter: patrickDurusau

Reply all
Reply to author
Forward
0 new messages