[topicmapmail] k42 and superclass-subclass and class-instance relationships
Magdalena Litwin
malit@poczta.onet.pl
Thu, 20 Mar 2003 15:54:31 +0100
This is a multi-part message in MIME format.
------=_NextPart_000_0028_01C2EEF8.FEB91E00
Content-Type: text/plain;
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
Hello,
Currently I'm trying to design the database of enzymes based on topic =
maps. I'm using the Empolis k42 application. I have a problem with =
superclass-subclass and class-instance relations.=20
Let's say that I want to model such an association: each enzyme has a =
number called EC number i.e. EC number of an alcohol dehydrogenaze is =
1.1.1.1. I have created topic "number", topic "EC" and "1.1.1.1". I =
thing they should be connected by superclass-subclass relationship which =
is tranzitive - it means that I can claim that "1.1.1.1" is an instance =
of "number". I have created also a topic "alcohol dehydrogenaze". Then, =
I have defined an association template:
- "enzyme" has an "number",
- "number" is associated with an "enzyme".
But I cannot to asign any concrete value to the number.
I have tried to implement the same hierarchy using a class-instance =
relationship. It works but only if I marked that "1.1.1.1" is an =
instance not only a topic "EC" but also a topic "number".=20
So how should I model such relationships in k42? I thought it is enough =
to say that "1.1.1.1" is an instance of "EC" and "EC" is an instance of =
"number" and the relationship between topics: "1.1.1.1" and "number" is =
obvious.=20
I am afraid I am not very clearly :-) If it is necessery I will try to =
explain my problem once more :-).
Regards,
Magdalena Litwin
------=_NextPart_000_0028_01C2EEF8.FEB91E00
Content-Type: text/html;
charset="iso-8859-2"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-2" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2920.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3D"Arial CE" size=3D2>Hello,</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>Currently I'm trying to design the =
database of=20
enzymes based on topic maps. I'm using the Empolis k42 application. I =
have a=20
problem with superclass-subclass and class-instance relations. =
</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>Let's say that I want to model =
such an=20
association: each enzyme has a number called EC number i.e. EC =
number of an=20
alcohol dehydrogenaze is 1.1.1.1. I have created topic "number", =
topic=20
"EC" and "1.1.1.1". I thing they should be connected by =
superclass-subclass=20
relationship which is tranzitive - it means that I can claim that =
"1.1.1.1"=20
is an instance of "number". I have created also a topic "alcohol =
dehydrogenaze".=20
Then, I have defined an association template:</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2> - "enzyme" has =
an=20
"number",</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2> - "number" is =
associated=20
with an "enzyme".</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>But I cannot to asign any concrete =
value to=20
the number.</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>I have tried to implement the same =
hierarchy=20
using a class-instance relationship. It works but only if I marked that=20
"1.1.1.1" is an instance not only a topic "EC" but also a topic =
"number".=20
</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>So how should I model such =
relationships in=20
k42?</FONT><FONT face=3D"Arial CE" size=3D2> I thought it is enough to =
say that=20
"1.1.1.1" is an instance of "EC" and "EC" is an instance of "number" and =
the=20
relationship between topics: "1.1.1.1" and "number" is obvious.=20
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>I am afraid I am not very clearly =
:-) If it is=20
necessery I will try to explain my problem once more :-).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>Regards,</FONT></DIV>
<DIV><FONT face=3D"Arial CE" size=3D2>Magdalena Litwin</FONT></DIV>
<DIV> </DIV>
<DIV> </DIV></BODY></HTML>
------=_NextPart_000_0028_01C2EEF8.FEB91E00--