<div dir="ltr"><div>Guillaume,</div><div><br></div><div>Could you log into the DDI Jira site and copy/paste this into a comment for issue DDILife 3511. I&#39;d do it but I&#39;d like to have it entered with your name attached so we can track the comment flow.</div><div><br></div><div>Thanks much</div><div>Wendy</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 15, 2015 at 5:03 AM, Duffes Guillaume <span dir="ltr">&lt;<a href="mailto:guillaume.duffes@insee.fr" target="_blank">guillaume.duffes@insee.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">Hi all,</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">In addition to Wendy&#39;s responses I would like to highlight some other aspects of those issues.
</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The reusability of question items is very much linked to the relationship between a Question and an Instance Question in GSIM: the reusable
 object is the Question and the context-based (and differentiated) object is the Instance Question.
</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">Given that, the issue becomes: what is exactly a DDI QuestionItem? Or more precisely what is a DDI QuestionItem without an in/out parameter
 and what is a QuestionItem with an in/out parameter?</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The former is definitely a GSIM Question then reusable.
</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The latter is more debatable. The new issue is:  would defining a parameter in a QuestionItem and binding it to a variable or any other construct
 make the QuestionItem unreusable? At Insee we believe the answer is no. We agreed upon the principle that each QuestionItem carries information from its response domain (asking a question without retrieving information from it does not make sense for us) and
 then comes along with a parameter. This parameter is seen as a container independently of its bindings, what makes it reusable.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The binding child element in a QuestionItem is not a problem as well. It binds an OutParameter defined at the QuestionItem level to an OutParameter
 defined at the response domain level. In fact it simply links two reusable parameters within the same parent object what makes it reusable as well.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The above-mentioned approach works for reusing Question Items
<u>across</u> questionnaires. </font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The only cas we can see for reusing the same question in a non mutually-exclusive fashion <u>within the same</u> questionnaire is a loop. However
 a 3.2 d:Loop requests a &quot;reference to a ConstructConstruct to implement until the LoopWhile condition is met&quot;. This ControlConstruct can contain a reference to a QuestionItem which here looks eerily like a GSIM Question and the related Instance Questions would
 be for example each instance of the <u>technical implementation format</u> generated from the DDI file(e.g Xforms instances in the case of a web questionnaire). So the QuestionItem and its nested parameters here are reused through the loop mechanism.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The same approach can be applied to Question Grids and the parameters bound to cells.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">In regard to the reusability of variables the first thing to be clarified is the type of variables we are dealing with. The 3.2 DDI l:Variable
 are equivalent to GSIM Instance Variable. Thus they are not meant to be reused and the SourceParameterReference is one of the elements that ensures that the instance variable is unique.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">On the other hand the RepresentedVariable and above all the ConceptualVariable are meant to be reused and do not deal with parameters.
</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">The mechanism defined by these three types of variables seem to me very much consistent.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">Finally as Wendy stated it one can make the binding links as short as needed. At Insee for example we skip most of the binding path at the ControlConstruct
 level essentially for verbosity&#39;s sake.</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">Cheers,</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2">Guillaume</font></span></div>
<div align="left" dir="ltr"><span><font color="#0000ff" face="Bookman Old Style" size="2"></font></span> </div>
<div align="left" dir="ltr">
<hr>
</div>
<div align="left" dir="ltr"><font face="Tahoma" size="2"><b>De :</b> <a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">ddi-users-bounces@icpsr.umich.edu</a> [mailto:<a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">ddi-users-bounces@icpsr.umich.edu</a>]
<b>De la part de</b> Wendy Thomas<br>
<b>Envoyé :</b> lundi 14 décembre 2015 19:22<br>
<b>À :</b> Data Documentation Initiative Users Group<br>
<b>Objet :</b> Re: [DDI-users] InParameter/OutParameter and Binding in Questionnaires<br>
</font><br>
</div>
<div></div>
<div dir="ltr">
<div>This and the question grid usage of the array in In/Out Parameters and Binding has been posted as an issue to DDILIFE 3511</div>
<div><br>
</div>
<div>Wendy</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Dec 14, 2015 at 11:41 AM, Wackerow, Joachim <span dir="ltr">
&lt;<a href="mailto:Joachim.Wackerow@gesis.org" target="_blank">Joachim.Wackerow@gesis.org</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">
<div lang="EN-US" vlink="purple" link="blue">
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Thanks. This is helpful.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">I’m also concerned regarding reusability. Some more comments:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">The binding definition is a child element of QuestionItem, QuestionConstruct, and Sequence. This means each of these elements are only reusable independently
 of the context if the binding is defined in the element where the InParameter is defined. This is just in other words what you said with “Binding for objects intended for reuse should be done at their point of use when possible.”<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">The SourceParameterReference seems to combine the definition of an InParameter with a binding. I assume this can be limiting because no specific value
 of an array can be addressed. I.e. a variable can be the result of a question in a row of a QuestionGrid. The binding would only be possible by means of an intermediate GenerationInstruction. Or did I miss something?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Anyway, the use of the SourceParameterReference makes a Variable not reusable.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">A thought on future DDI versions:<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">A more consistent approach would be to use the same solution as an QuestionItem: the definition of an InParameter. The binding should be done independently
 of the Variable to support reusable variables.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt">Achim<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125);font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;font-size:11pt"><u></u><u></u></span> </p>
<p class="MsoNormal"><b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">From:</span></b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">
<a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">ddi-users-bounces@icpsr.umich.edu</a> [mailto:<a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">ddi-users-bounces@icpsr.umich.edu</a>]
<b>On Behalf Of </b>Wendy Thomas<br>
<b>Sent:</b> Montag, 14. Dezember 2015 15:29<br>
<b>To:</b> Data Documentation Initiative Users Group<br>
<b>Subject:</b> Re: [DDI-users] InParameter/OutParameter and Binding in Questionnaires<u></u><u></u></span></p>
<p class="MsoNormal"><u></u><u></u> </p>
<div>
<div>
<p class="MsoNormal">A couple of points about binding in 3.2:<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u><u></u> </p>
</div>
<div>
<p class="MsoNormal">First in answer to your earlier question regarding the path of the binding from the question item to the control construct to the generation instruction to the variable. You are correct that you could bind directly from the variable to
 the question. However, a question item may be used in many locations within a questionnaire (Age for example). It could be part of multiple sequences, in a loop, etc. By specifying the link between a question and its specific control construct the question
 can be reused multiple times, and each time one can create a binding to its specific usage.
<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u><u></u> </p>
</div>
<div>
<p class="MsoNormal">Binding itself may be done within the construct of the item or at the time of reference using the SourceParameterReference. This may not be as well distributed as it should be. I see it in VariableType and ConditionalTextType. This should
 be reviewed for a 3.3 version. Binding to a question outparameter in an instrument should be done at the level of the control construct to keep the question reusable. In short, you can make your binding links as short as you wish for your specific needs. Binding
 for objects intended for reuse should be done at their point of use when possible.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u><u></u> </p>
</div>
<div>
<p class="MsoNormal">Wendy<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u><u></u> </p>
<div>
<p class="MsoNormal">On Sun, Dec 13, 2015 at 10:53 AM, Wackerow, Joachim &lt;<a href="mailto:Joachim.Wackerow@gesis.org" target="_blank">Joachim.Wackerow@gesis.org</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Relationship class is in DDI 4.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">The related documentation says “Relationship specification between this item and the item to which it is related.”
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Using this approach for binding would conflict with the idea of reusability because the reference to a another object would be part of the object itself.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">The concept of binding is in 3.2 a little different. Two identifiable parameters are referenced by the binding definition. But the binding is a child element of the element having a parameter. This seems
 to be limiting regarding reusability.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Back to the usage in DDI 3.2:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Any thoughts on the question regarding the binding definition only in the Sequence (the OutParameter of Question 1 and the InParameter of Question 2).
</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">This is a DDI 3.2 question.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Achim</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
</div>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:currentColor;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">From:</span></b><span style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;;font-size:10pt">
<a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">ddi-users-bounces@icpsr.umich.edu</a> [mailto:<a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">ddi-users-bounces@icpsr.umich.edu</a>]
<b>On Behalf Of </b>Hoyle, Larry<br>
<b>Sent:</b> Freitag, 11. Dezember 2015 20:48<br>
<b>To:</b> Data Documentation Initiative Users Group<br>
<b>Subject:</b> Re: [DDI-users] InParameter/OutParameter and Binding in Questionnaires</span><u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">Would this be an application of the Relationship classes?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)">--- Larry Hoyle</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
</div>
<p class="MsoNormal"><span style="color:rgb(31,73,125)"></span><u></u><u></u> </p>
<div>
<div style="border-width:1pt medium medium;border-style:solid none none;border-color:currentColor;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b>From:</b> <a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">
ddi-users-bounces@icpsr.umich.edu</a> [<a href="mailto:ddi-users-bounces@icpsr.umich.edu" target="_blank">mailto:ddi-users-bounces@icpsr.umich.edu</a>]
<b>On Behalf Of </b>Wackerow, Joachim<br>
<b>Sent:</b> Friday, December 11, 2015 12:32 PM<br>
<b>To:</b> Data Documentation Initiative Users Group (<a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a>) &lt;<a href="mailto:ddi-users@icpsr.umich.edu" target="_blank">ddi-users@icpsr.umich.edu</a>&gt;<br>
<b>Subject:</b> [DDI-users] InParameter/OutParameter and Binding in Questionnaires<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal">I’m wondering where the binding can be specified and which way is best to support reusability of QuestionItems.<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal">This topic is documented in the Technical Documentation of DDI 3.2. There is a related diagram on page 35 (and a related example XML file InOutBindingExample). This explains that binding is done in a chain from Question 1 up to the Sequence
 and then down again to Question 2. This shows all possibilities of defining bindings in this case.<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal">A simpler way would be to define the binding of directly in the Sequence (the OutParameter of Question 1 and the InParameter of Question 2). Then all other bindings are not necessary and the questions are totally reusable. This would also
 correspond to the actual use of these two questions in the sequence. Only then the binding is important.<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal">Are there any disadvantages to use this option?<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal">A more general thought: a definition of a binding is probably mostly of local use (here for questions in a sequence). Therefore it can conflict with the idea of reusability. In this sense, a better location for binding definitions would
 be an independent scheme. On the other hand, if the sequence should be reused like it is it makes sense to have the binding definition in the sequence.<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal">Achim<u></u><u></u></p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal"><u></u><u></u> </p>
<p class="MsoNormal"><u></u><u></u> </p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12pt"><br>
_______________________________________________<br>
DDI-users mailing list<br>
<a href="mailto:DDI-users@icpsr.umich.edu" target="_blank">DDI-users@icpsr.umich.edu</a><br>
<a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" target="_blank">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class="MsoNormal">Wendy L. Thomas                              Phone: +1 612.624.4389<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Data Access Core Director                 Fax:   +1 612.626.8375<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Minnesota Population Center             Email: <a href="mailto:wlt@umn.edu" target="_blank">
wlt@umn.edu</a><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">University of Minnesota<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">50 Willey Hall<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">225 19th Avenue South<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Minneapolis, MN 55455<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
DDI-users mailing list<br>
<a href="mailto:DDI-users@icpsr.umich.edu" target="_blank">DDI-users@icpsr.umich.edu</a><br>
<a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" target="_blank" rel="noreferrer">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><br>
<br><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
</font></span></div><span class="HOEnZb"><font color="#888888">
<br>
<br clear="all">
<br>
-- <br>
<div>
<div>Wendy L. Thomas                              Phone: +1 612.624.4389</div>
<div>Data Access Core Director                 Fax:   +1 612.626.8375</div>
<div>Minnesota Population Center             Email: <a href="mailto:wlt@umn.edu" target="_blank">
wlt@umn.edu</a></div>
<div>University of Minnesota</div>
<div>50 Willey Hall</div>
<div>225 19th Avenue South</div>
<div>Minneapolis, MN 55455</div>
</div>
</font></span></div>
</div>

<br>_______________________________________________<br>
DDI-users mailing list<br>
<a href="mailto:DDI-users@icpsr.umich.edu">DDI-users@icpsr.umich.edu</a><br>
<a href="http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users" target="_blank" rel="noreferrer">http://lists.icpsr.umich.edu/mailman/listinfo/ddi-users</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div>Wendy L. Thomas                              Phone: +1 612.624.4389</div><div>Data Access Core Director                 Fax:   +1 612.626.8375</div><div>Minnesota Population Center             Email: <a href="mailto:wlt@umn.edu" target="_blank">wlt@umn.edu</a></div><div>University of Minnesota</div><div>50 Willey Hall</div><div>225 19th Avenue South</div><div>Minneapolis, MN 55455</div></div>
</div>