[sc34wg3] Compact syntax requirement question

Lars Marius Garshol sc34wg3@isotopicmaps.org
Wed, 20 Jul 2005 17:00:37 +0200


* Murray Altheim
| 
| [...] I can see places where I don't know how I'd perform certain
| kinds of references absent an ID, specifically in LTM.

In LTM 1.2 this was true, but in LTM 1.3 it is no longer true, except
in the case of reification. In LTM 1.3 it's possible to use prefixed
names everywhere, like this:

#MERGEMAP "core.xtm" xtm /* load superclass-subclass and other topics */
#PREFIX xtm @"http://www.topicmaps.org/xtm/1.0/core.xtm#"
#PREFIX ex @"http://www.example.org/totally-bogus/"

[ex:sentient-being = "Sentient being"]
[ex:human = "Human"]
[ex:giraffe = "Giraffe"]

xtm:superclass-subclass(ex:sentient-being : xtm:superclass, 
                        ex:human : xtm:subclass)
xtm:superclass-subclass(ex:sentient-being : xtm:superclass, 
                        ex:giraffe : xtm:subclass)

-- 
Lars Marius Garshol, Ontopian         <URL: http://www.ontopia.net >
GSM: +47 98 21 55 50                  <URL: http://www.garshol.priv.no >