logo       


Re: Merging associations: msg#00008

Subject: Re: Merging associations

Hi (soon weekend : ))

As I see it, the 2 topic maps have already been merged so the all the topics in A would have been added or merged to topic map B. In my implementation, the mergIn(TopicMap topicmap) first calls the mergeIn(Topic topic) and then the copyAssociations(TopicMap otherTM, HashTable mergeMap) method. The method then checks in the mergeMap for roles, players and types. If not contained in the mergeMap something has gone terribly wrong in the merging methods : /. So in other words, this should already have been taken care of : ) The topic.getRolesPlayed() is used in the mergeIn(Topic topic) method to set/replace the correct roles/types/players in all of the associations. So all of the associations should have the correct reference to the newly merged topics :)

Do you agree?


Joril Andersen
Helgesens gate 3
0553 Oslo
Mobil: 95256088




From: Lars Heuer <heuer-0vbsL0CoYrBBDgjK7y7TUQ@xxxxxxxxxxxxxxxx>
To: Murray Altheim <murray06-VpuskFHpX8xBDgjK7y7TUQ@xxxxxxxxxxxxxxxx>
CC: topicmapmail-Zo64W7twoUFWk0Htik3J/w@xxxxxxxxxxxxxxxx
Subject: Re: [topicmapmail] Merging associations
Date: Fri, 15 Sep 2006 14:34:05 +0200

Hi Murray,
hi Joril,

I still suspect that TopicMap.mergeIn(Association) (and
TopicMap.mergeIn(Topic)) is something I like to have in TMAPI. But I
like to understand the semantics of the copy operation.

Think of these topic maps (using [AsTMa2]):

Topic map A:

      john isa person
      http://en.wikipedia.org/wiki/John_Lennon  # Subject identifier
                                                # of john

      member-of isa contained-in

      member-of(group: the-beatles, member: john)

Topic map B:

      john
      http://en.wikipedia.org/wiki/John_Lennon  # Subject identifier
                                                # of john


Now I like to copy the "member-of" association from topic map A to
topic map B.

Questions:
- Is the topic "contained-in" and that "member-of" is and instance of
  "contained-in" also copied to B?
- Is the information that "john isa person" added to B?
- Must the topics "group", "the-beatles", "member", "member-of" exist
  in the topic map B to be successfully copied?

[AsTMa2]<http://astma.it.bond.edu.au/astma=-spec-2.0r1.0.dbk>

Best regards,
Lars
--
http://www.semagia.com
http://www.topicgarden.com/mailinglist/ German Topic Maps mailinglist

_______________________________________________
topicmapmail mailing list
topicmapmail-Zo64W7twoUFWk0Htik3J/w@xxxxxxxxxxxxxxxx
http://www.infoloom.com/mailman/listinfo/topicmapmail


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe