1. Do you remember that, following your instructions, I put in the first field of s-attributes
(XML elements): "text:0+id+name+lang+season" then in the second field I put
"s:0+id+type", but this didn't work, so you use first field but what about the next
ones, can you use them some way, how?<br /><br />2. You understood what was my intention when
using the second field explained at previous point, can this intention be achieved indexing
the coprpus via cwb by command line and then uploaded to the cqp interface through the
&quot;Install a corpus pre-indexed in CWB&quot;<br /><br />3. Once indexed the corpus, at the
standard query there is an option that says: &quot;Restriction:&quot; but it shows no option
to me, how should this option be available, what do I need to do to put some restrictions in
here?<br /><br />I hope this is clearer than before, if not, I will try it again....<br /><br
/>thanks<br /><br /><br />El Sab, 4 de Enero de 2014, 16:46, Hardie, Andrew
escribi&oacute;:<br /> <!-- begin sanitized html -->     <style type="text/css">-></style>
<div class="bodyclass">
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">I&rsquo;m
sorry I don&rsquo;t understand the questions. Can you rephrase/elaborate.</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></p>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p class="MsoNormal"><strong><span lang="EN-US"
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></strong><span
lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">
cwb-bounces@sslmit.unibo.it [mailto:cwb-bounces@sslmit.unibo.it] <strong>On Behalf Of
</strong>Andres Chandia<br /> <strong>Sent:</strong> 04 January 2014 15:31<br />
<strong>To:</strong> Open source development of the Corpus WorkBench<br />
<strong>Subject:</strong> Re: [CWB] problem at managing corpus metadata</span></p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Some questions then...<br /> <br /> 1. if you have to index the metadata
as an s-attribute in only one field when you index a corpus, what are the rest of the fields
for, how and what for can they be used to?<br /> <br /> 2. if you index corpus via command
line with cwb would the s-attributes be availabe in the way I intended to index them, the way
that you say is not available yet by cqp interface?<br /> <br /> 3. at the standard query
there is the restriction option, but this one does not get activated when the corpora is
indexed, how shoul I proceed at indexing process to activate this?<br /> <br /> Thanks<br />
<br /> <br /> El Mar, 31 de Diciembre de 2013, 20:50, Hardie, Andrew escribi&oacute;:</p>
<div>
<div>
<p style="margin-left:36.0pt;text-indent:-18.0pt" class="MsoListParagraph"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">1.</span><span
style="font-size:7.0pt;color:#1F497D"> </span><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Yes,
of course, because metadata works at the text level. So if you index text metadata from
something on the <s>element, then naturally only 1 element per text will actually have any
effect. There is a warning in the interface to this effect:</s></span></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt"
class="MsoNormal"> <s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">The
following XML annotations are indexed in the corpus.</span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt"
class="MsoNormal"> <s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Select
the ones which you wish to use as <strong><u><span
style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">text-metadata</span></u></strong>
fields.</span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt"
class="MsoNormal"> <s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Note:
you must only select annotations that occur <strong><span
style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">at or
above</span></strong></span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:108.0pt"
class="MsoNormal"> <s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">the
level of in the XML hierarchy of your corpus</span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">What
you seem to actually want is to be able to restrict your queries to particular elements
depending  on their attributes. CQPweb can&rsquo;t do this. Queries can only be restricted to
particular *<strong><span
style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">texts</span></strong>*, not to
sub-parts of texts. XML Restricted Queries is a much-requested feature and one  I hope to be
able to implement once the database reorganisation in v3.1 is done. But it can&rsquo;t be done
<em><span
style="font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;">now</span></em>.</span></s></p>
<p style="margin-left:36.0pt;text-indent:-18.0pt" class="MsoListParagraph"><s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">2.</span></s><s><span
style="font-size:7.0pt;color:#1F497D"> </span></s><s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Either
switch your checkout over from the trunk to the URL of the 3.0 branch, or just manually copy
the code available in the download tarball.</span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">best</span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto" class="MsoNormal"><s><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">Andrew.</span></s></p>
<p style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"
class="MsoNormal"><strong><s><span lang="EN-US"
style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></s></strong><s><span
lang="EN-US" style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> 
Andres Chandia [<a target="_blank" title="Este enlace externo se abrirá en una nueva ventana"
href="mailto:andres@chandia.net">mailto:andres@chandia.net</a>] <br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Sent:</span></strong> 31<br
/>December 2013 19:32<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">To:</span></strong> Hardie,
Andrew<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Cc:</span></strong> Open source
development of the Corpus WorkBench<br /> <strong><span
style="font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">Subject:</span></strong> RE:
[CWB] problem at managing corpus metadata</span></s></p>
<p style="mso-margin-top-alt:auto;margin-bottom:12.0pt" class="MsoNormal"><s>Thanks, I turned
back to the previous one that I had CQPweb v3.0.7 &copy; 2008-2012 and all went well<br />
except for this:<br /> <br /> 1. I have introduced at the second line s-attributes this way:
s:0+id+type, then at the restricted query for the s_id it only appears the data for S1 and S3,
but not for S2 and S4, if you see the corpus text_1 owns S1 and S2, text_2 owns S3 and S4, so
only  appears the first S of each text<br /> <br /> <br /> And I take the opportunity to ask
you how do I upgrade with svn to the version you are recommending <br /> <br /> <br /> Thanks,
and If you don't answer right now I would understand it, Have a Great New Year's
Eve!!!</s></p>
</div>
</div>
<p class="MsoNormal"><br /> <br /> <br /> _______________________<br />            
andr&eacute;s chand&iacute;a<br /> <a title="Este enlace externo se abrirá en una nueva
ventana" target="_blank" href="http://www.chandia.net"><span style="border:solid windowtext
1.0pt;padding:0cm;text-decoration:none">[IMAGE REMOVED]</span></a><br /> administrador de<br /> <a title="Este enlace externo se
abrirá en una nueva ventana" target="_blank"
href="http://parles.upf.edu">parles.upf.edu</a><br /> <a title="Este enlace externo se abrirá
en una nueva ventana" target="_blank" href="http://psicoaching.net">psicoaching.net</a><br />
<a title="Este enlace externo se abrirá en una nueva ventana" target="_blank"
href="http://koyaktumapuche.net">mapuche koyaktu</a><br /> <a title="Este enlace externo se
abrirá en una nueva ventana" target="_blank" href="http://corporacionkoyaktu.net">ong mapuche
koyaktu</a><br /> <span style="font-size:18.0pt;font-family:Webdings;color:#4F6228">P
</span><span style="font-size:10.0pt;color:#4F6228">No imprima innecesariamente. &iexcl;Cuide
el medio ambiente!</span></p>
</div>
</div>
<!-- end sanitized html --> <br /><br /><br />_______________________<br
/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;andr&eacute;s
chand&iacute;a<br /><a target="_blank" href="http://www.chandia.net"><img border="0"
alt="chandia.net" src="http://www.chandia.net/sites/default/files/images/chandia.netd.png"
/></a><a target="_blank" href="https://twitter.com/andreschandia"><img
src="http://www.upf.edu/universitat/_img/ico_tw.png" alt="" /></a><br />administrador de<br
/><a href="http://parles.upf.edu">parles.upf.edu</a><br /><a
href="http://psicoaching.net">psicoaching.net</a><br /><a
href="http://koyaktumapuche.net">mapuche koyaktu</a><br /><a
href="http://corporacionkoyaktu.net">ong mapuche koyaktu</a><br /><span style="font-size:
18pt; color: rgb(79, 98, 40); font-family: Webdings;">P </span><span style="font-size: 10pt;
color: rgb(79, 98, 40);">No imprima innecesariamente. &iexcl;Cuide el medio ambiente!</span>