CollectBinaryToNary
From WandoraWiki
(Difference between revisions)
(11 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | Lets assume you have imported | + | Lets assume you have imported RDF 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 association with '''n''' players. Number of association topics is reduced by one as the intermediator is not necessary any more. Examples: |
c | c | ||
/ | / | ||
− | (a -- b) -- d ==> a | + | (a -- b) -- d ==> a - c - d - f , [b] |
\ | \ | ||
f | f | ||
Line 10: | Line 10: | ||
c | c | ||
/ | / | ||
− | (a) -- b -- d ==> a | + | (a) -- b -- d ==> a - c - d - f , [b] |
\ | \ | ||
f | f | ||
Line 17: | Line 17: | ||
[x] = topic x is removed | [x] = topic x is removed | ||
(x) = topic x is in context | (x) = topic x is in context | ||
+ | x -- y = binary association between x and y | ||
+ | x - y - z - k = 4-ary association between x, y, z, and k | ||
(x -- y) = association is in context | (x -- y) = association is in context | ||
+ | |||
+ | The tool is very useful to clean up not only RDF triplets but also [http://cidoc.ics.forth.gr/index.html CIDOC CRM] data. | ||
{{Tool_s_GUI_name_title}} | {{Tool_s_GUI_name_title}} | ||
Line 25: | Line 29: | ||
{{Tool_s_class_title}} | {{Tool_s_class_title}} | ||
− | + | {{Tool_class_path|associations.CollectBinaryToNary|associations/CollectBinaryToNary}} | |
[[Category:Tools]] | [[Category:Tools]] |
Latest revision as of 20:04, 8 May 2008
Lets assume you have imported RDF 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 association with n players. Number of association topics is reduced by one as the intermediator is not necessary any more. Examples:
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 = binary association between x and y x - y - z - k = 4-ary association between x, y, z, and k (x -- y) = association is in context
The tool is very useful to clean up not only RDF triplets but also CIDOC CRM data.
[edit] GUI name
- Break binary association topics
[edit] Tool Class
org.wandora.application.tools.associations.CollectBinaryToNary