[sc34wg3] Draft Reference Model
Jan Algermissen
sc34wg3@isotopicmaps.org
Mon, 18 Nov 2002 21:56:05 +0100
Lars Marius Garshol wrote:
>
> * Jan Algermissen
> |
> | Example:
> |
> | "'Hot' and 'cold' are opposites"
> |
> | This would be modeled in the graph like this:
> |
> |
> | x2
> | /
> | C-----R2
> | /
> | T1 A-----T2
> | | /
> | | R1 C-----R3
> | | | /
> | A-------C-------x1
> | \
> | C-----R3
> | \
> | A-----T2
> | \
> | C-----R2
> | \
> | x3
> |
> |
> | The nodes above represent the following subjects:
> |
> | T1: the assertion type 'at-opposites'
> | R1: the role 'role-opposite'
> | x1: the players of the role-opposite ("The Opposites")
> | R2: the role 'role-setMember'
> | R3: the role 'role-set'
> | T2: the assertion type 'at-set-setMember'
> | x2: 'hot'
> | x3: 'cold'
>
> This was rather difficult to follow. Could you show what this would
> look like in XTM syntax?
Here it is:
<assertion id="a1">
<instanceOf>
<topicRef xlink:href="#at-opposites" />
</instanceOf>
<member>
<roleSpec>
<topicRef xlink:href="#role-opposite" />
</roleSpec>
<topicRef xlink:href="#cold" />
<topicRef xlink:href="#hot" />
</member>
</assertion>
Well, or like this:
<assertion id="a2">
<instanceOf>
<topicRef xlink:href="#at-opposites" />
</instanceOf>
<member>
<roleSpec>
<topicRef xlink:href="#role-opposite" />
</roleSpec>
<topicRef xlink:href="#hot" />
</member>
<member>
<roleSpec>
<topicRef xlink:href="#role-opposite" />
</roleSpec>
<topicRef xlink:href="#cold" />
</member>
</assertion>
Jan
>
> --
> Lars Marius Garshol, Ontopian <URL: http://www.ontopia.net >
> ISO SC34/WG3, OASIS GeoLang TC <URL: http://www.garshol.priv.no >
>
> _______________________________________________
> sc34wg3 mailing list
> sc34wg3@isotopicmaps.org
> http://www.isotopicmaps.org/mailman/listinfo/sc34wg3
--
Jan Algermissen
Consultant & Programmer
Tel: ++49 (0)40 89 700 511
++49 (0)177 283 1440
Fax: ++49 (0)40 89 700 841
Email: algermissen@acm.org
Web: http://www.topicmapping.com