[topicmapmail] Associations between the terms defined in TMDM

Lars Marius Garshol larsga at garshol.priv.no
Tue Jun 26 15:08:40 EDT 2007


* Robert Cerny
>
> Does anybody have a topic map capturing the associations between  
> the terms in the TMDM, e.g. that the default name type is a topic  
> name type, that type is an association role type, ...?

I wanted to do something like this for a *long* time. You finally  
made me make an attempt. What do people think of the topic map below?

#PREFIX tm @"http://bogus.garshol.priv.no/tmdm/"
#PREFIX tmdm @"http://psi.topicmaps.org/iso13250/model/"

[tm:association = "Association"]
tmdm:superclass-subclass(tm:statement : tmdm:superclass,
                          tm:association : tmdm:subclass)
[tm:association-role = "Association role"]
tmdm:superclass-subclass(tm:construct : tmdm:superclass,
                          tm:association-role : tmdm:subclass)
[tm:occurrence = "Occurrence"]
tmdm:superclass-subclass(tm:statement : tmdm:superclass,
                          tm:occurrence : tmdm:subclass)

[tm:information-resource : tm:topic-type = "Information resource"]
tmdm:superclass-subclass(tm:subject : tmdm:superclass,
                          tm:information-resource : tmdm:subclass)

[tm:statement = "Statement"]
tmdm:superclass-subclass(tm:construct : tmdm:superclass,
                          tm:statement : tmdm:subclass)

[tm:subject : tm:topic-type = "Subject"]

[tm:construct = "Topic map construct"]
tmdm:superclass-subclass(tm:subject : tmdm:superclass,
                          tm:construct : tmdm:subclass)

[tm:topic = "Topic"]
tmdm:superclass-subclass(tm:construct : tmdm:superclass,
                          tm:topic : tmdm:subclass)

[tm:topic-map = "Topic map"]
tmdm:superclass-subclass(tm:construct : tmdm:superclass,
                          tm:topic-map : tmdm:subclass)

[tm:topic-name = "Topic name"]
tmdm:superclass-subclass(tm:statement : tmdm:superclass,
                          tm:topic-name : tmdm:subclass)

[tm:topic-type : tm:topic-type = "Topic type"]
tmdm:superclass-subclass(tm:subject : tmdm:superclass,
                          tm:topic-type : tmdm:subclass)

[tm:variant-name = "Variant name"]
tmdm:superclass-subclass(tm:statement : tmdm:superclass,
                          tm:variant-name : tmdm:subclass)

[tm:association-role-type : tm:topic-type = "Association role type"]
[tm:association-type : tm:topic-type = "Association type"]
[tm:occurrence-type : tm:topic-type = "Occurrence type"]
[tm:topic-name-type : tm:topic-type = "Topic name type"]

[tmdm:type-instance : tm:association-type = "Type/instance"]
[tmdm:type : tm:association-role-type = "Type"]
[tmdm:instance : tm:association-role-type = "Instance"]

[tmdm:superclass-subclass : tm:association-type = "Superclass/subclass"
    = "Superclass of" / tmdm:superclass
    = "Subclass of" / tmdm:subclass]
[tmdm:superclass : tm:association-role-type = "Superclass"]
[tmdm:subclass : tm:association-role-type = "Subclass"]

[tmdm:topic-name : tm:topic-name-type = "Topic name"]

--Lars M.



More information about the topicmapmail mailing list