CollectBinaryToNary

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
 
Lets assume you have imported an RDF file to Wandora. RDF supports only binary relations. However RDF allows you to pack multiple binary relations into a single entity that resembles n-ary association of topic maps. The trick is to use an intermediator between. BinaryAssociationTopicBreaker tool breaks '''n''' binary associations into a single n-association. Number of association topics is reduced by one as the intermediator is not necessary any more.
 
Lets assume you have imported an RDF file to Wandora. RDF supports only binary relations. However RDF allows you to pack multiple binary relations into a single entity that resembles n-ary association of topic maps. The trick is to use an intermediator between. BinaryAssociationTopicBreaker tool breaks '''n''' binary associations into a single n-association. Number of association topics is reduced by one as the intermediator is not necessary any more.
 +
 +
            c
 +
          /
 +
  (a -- b) -- d      ==>    a -- c -- d -- f  ,  [b]
 +
          \
 +
            f
 +
 +
 +
            c
 +
          /
 +
  (a) -- b -- d      ==>    a -- c -- d -- f  ,  [b]
 +
          \
 +
            f
 +
 +
  x  = topic
 +
  [x] = topic x is removed
 +
  (x) = topic x is in context
 +
  (x -- y) = association is in context
  
 
{{Tool_s_GUI_name_title}}
 
{{Tool_s_GUI_name_title}}

Revision as of 23:24, 2 March 2007

Lets assume you have imported an RDF file to Wandora. RDF supports only binary relations. However RDF allows you to pack multiple binary relations into a single entity that resembles n-ary association of topic maps. The trick is to use an intermediator between. BinaryAssociationTopicBreaker tool breaks n binary associations into a single n-association. Number of association topics is reduced by one as the intermediator is not necessary any more.

           c
          /
  (a -- b) -- d      ==>     a -- c -- d -- f   ,   [b]
          \
           f


           c
          /
  (a) -- b -- d      ==>     a -- c -- d -- f   ,   [b]
          \
           f

  x  = topic
 [x] = topic x is removed
 (x) = topic x is in context
 (x -- y) = association is in context

GUI name

  • Break binary association topics

Tool Class

com.gripstudios.applications.wandora.admin.tools.associations.BinaryAssociationTopicBreaker

Personal tools