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;:<br /> <!-- begin sanitized html --> 
  <style type="text/css">-></style>
<div class="bodyclass">
<div class="WordSection1">
<p class="MsoNormal"> </p>
<p style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"
class="MsoListParagraph"> <span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><span
style="mso-list:Ignore">1.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></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 <s>  element per text will actually have
any effect. There is a warning in the interface to this effect:</s></s></span></p>
<s><s>
<p style="margin-left:108.0pt" class="MsoNormal"><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></p>
<p style="margin-left:108.0pt" class="MsoNormal"><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>text-metadata</u></strong> fields.</span></p>
<p style="margin-left:108.0pt" class="MsoNormal"><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>at or above</strong></span></p>
<p style="margin-left:108.0pt" class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">the
level of <text> in the XML hierarchy of your corpus</text></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">What
you seem to actually want is to be able to restrict your queries to particular <s> elements
depending on their attributes. CQPweb can&rsquo;t do this. Queries  can only be restricted to
particular *<strong>texts</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>now</em>.</s></span></p>
<s>
<p class="MsoNormal"><span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D">
</span></p>
<p style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo2"
class="MsoListParagraph"> <span
style="font-size:10.0pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#1F497D"><span
style="mso-list:Ignore">2.<span style="font:7.0pt &quot;Times New Roman&quot;">   
</span></span></span><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></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;">
Andres Chandia [<a title="Este enlace externo se abrirá en una nueva ventana" target="_blank"
href="mailto:andres@chandia.net">mailto:andres@chandia.net</a>] <br /> <strong>Sent:</strong>
31<br />December 2013 19:32<br /> <strong>To:</strong> Hardie, Andrew<br />
<strong>Cc:</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">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!!!<br /> <br /> </p>
</s></s></s></div>
<s><s><s> </s></s></s></div>
<s><s><s>  </s></s></s> <!-- 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>