[topicmapmail] Scoping of a complete tm

Kal Ahmed kal@techquila.com
17 Jul 2003 21:04:45 +0100


Hi Katharina,

Although you cannot (in XTM at least) apply a scope to everything in a
topic map from within that topic map, you can apply a scope to a topic
map when you use mergeMap to include it in another topic map.

So, suppose you have tm1 and tm2 for documents 1 and 2 respectively.
Then you can create tm_cms which includes mergeMaps for tm1 and tm2.
Inside each mergeMap directive, you can include a topicRef or
subjectIndicatorRef to the topic(s) to use to scope each topic map.

Of course, if you are doing this on-the-fly, you do not necessarily need
to create the tm_cms as an XTM file - depending on the API your tool
uses you may find that there is support for merging topic map A into
topic map B with some predefined scope (as there is in TM4J for example
;-)

Cheers,

Kal

On Thu, 2003-07-17 at 13:26, Lieberknecht, Katharina wrote:
> Hi all,
> 
> is it possible to scope a whole tm with only one entry?
> 
> For example if I make one tm about the contents of document_nr.1 
> and one about the contents of document_nr.2. Is it possible 
> to scope them (topics + associations of both documents)
> correspondingly?
> 
> Afterwards I would like to merge the individual document-tms to a big
> one.
> I would then like being able to navigate through all topics and
> associations
> of the merged tm. But I still want to be able to
> create a view only on the topics and associations contained in one
> document.
> 
> At first I thougth of scoping each BaseName and Association with
> the corresponding topic. But these scope-Elements I would like to use
> for an 
> internal scoping of the contents of those documents (e.g. used
> language, kind
> of association).
> Does anyone have an idea how to handle this?
> 
> Greetings,
> Kathy
> 
> 
> 
> 
-- 
Kal Ahmed <kal@techquila.com>
techquila