[topicmapmail] occurrence abuse ?

Lars Marius Garshol larsga@garshol.priv.no
22 Aug 2002 11:48:40 +0200


* Steve Pepper
| 
| Compare the following examples (in LTM syntax, for brevity):
| 
| (1)  [ontopia = "Ontopia"]
|         {ontopia, phone, [[+47 23233080]]}
| 
| (2)  [ontopia = "Ontopia"]
|       [ontopias-phone-number = "+47 23233080"]
|         has-phone-number( ontopia, ontopias-phone-number )

The problem with (2) is that it is not clear that
'ontopias-phone-number' represents a string. That is, that the base
name string is not the name of the topic, but the subject of the
topic.

I guess something like

  [ontopia = "Ontopia"]
   [ontopias-phone-number %"data:,+4723233080"]
     has-phone-number( ontopia, ontopias-phone-number )
 
is better, but it's still not very nice.

BTW, this is SAM issue 'strings-as-subjects', raised in Barcelona.
  <URL: http://www.ontopia.net/omnigator/models/topic_complete.jsp?tm=tm-standards.xtm&id=941 >

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
ISO SC34/WG3, OASIS GeoLang TC        <URL: http://www.garshol.priv.no >