<div dir="ltr">Dear Data Modelers,<div><br></div><div>Could someone please give me a VO-DML/XML example of the Aggregation pattern shown in Figure 23 of VO-DML-REC-v1.0?<br></div><div><br></div><div><b>Background:</b></div><div>VO-DML-REC-v1.0 gives various arguments to why aggregation is excluded VO-DML. These reasons make sense. Using a composition has it&#39;s advantages and is indeed how aggregation is implemented in our relation database backends.</div><div><br></div><div>But the document is not quite clear on how to represent something like an aggregation. The only prose it has is &quot;aggregation can be represented by the pattern illustrated in Figure 23&quot;, and this figure is not clear to me.</div><div><br></div><div><b>Problem:</b><br></div><div>Here is figure 22, the UML aggregation:</div><div>  <b>A</b> blue-open-diamond-arrow-&gt; <b>B</b></div><div>  <b>A <font color="#0000ff">◇⟶</font> B</b></div><div><br></div><div>Figure 23, the VO-DML aggregation pattern:</div><div>  <b>A</b>  blue-filled-diamond-arrow-&gt; <b>AB</b> green-arrow-&gt; <b>B</b></div><div>  <b>A <font color="#0000ff">◆⟶</font> AB <font color="#00ff00">⟶</font> B</b><br></div><div><br></div><div>My interpretation of figure 23 is that the blue-filled-diamond-arrow represents a composition. This makes sense: every A is composed of one AB (among other things), and AB&#39;s are only used for composing A&#39;s. So far so good.</div><div><br></div><div>But the green-arrow is a normal reference right? So the AB refers to 0 or more B&#39;s. This again violates the multiplicty guidelines as stated in 4.19. What am I missing?</div><div><br></div><div><b>Goal:</b><br></div><div>A bit more background for clarification. What I&#39;m modeling is the relationship between a MasterDark and a set of RawDarks. That is, a MasterDark calibration frame is created by median stacking (or whatever) a set of RawDark calibration frames of a specific time period.</div><div><br></div><div>So both the RawDark and the MasterDark are standalone entities. Any MasterDark instance should refer to many RawDark instances somehow. The same RawDark can be used in the creation of many MasterDark instances. And RawDarks can be used for other things than creating MasterDarks. How to do this in VO-DML?</div><div><br></div><div>(There is some overlap here with ProvenanceDM obviously. I haven&#39;t yet looked how it is solved there.)</div><div><br></div><div><b>Solution?:</b></div><div><div>Maybe the idea is that an A is composed of multiple AB&#39;s and that each AB refers to a single B?</div><div><br></div><div>That does work but looks rather ugly to me.</div><div><br></div><div><br></div></div><div>Thanks,</div><div><br></div><div>Hugo</div><div><br></div></div>