<div dir="ltr">Having now experimented a little.<div><br></div><div>I've had most success with a completely flat file</div><div><br></div><div>The validator works OK except for the following 3 errors, which are presumably due to the recent changes to Darwin Core.</div><div><ul style="margin:0px;padding:0px;list-style:none;color:rgb(102,102,102);font-family:arial,helvetica,verdana,sans-serif;font-size:12px;line-height:13.2px"><li style="padding:5px 0px 0px"><span class="" style="color:red">Unknown term</span> <pre style="display:inline"><a href="http://rs.tdwg.org/dwc/terms/organismQuantity">http://rs.tdwg.org/dwc/terms/organismQuantity</a></pre> mapped to column 9</li><li style="padding:5px 0px 0px"><span class="" style="color:red">Unknown term</span> <pre style="display:inline"><a href="http://purl.org/dc/terms/license">http://purl.org/dc/terms/license</a></pre> mapped to column 16</li><li style="padding:5px 0px 0px"><span class="" style="color:red">Unknown term</span> <pre style="display:inline"><a href="http://rs.tdwg.org/dwc/terms/organismQuantityType">http://rs.tdwg.org/dwc/terms/organismQuantityType</a></pre> mapped to column 8</li></ul><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><br></span></font></div></div><div><font face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><font color="#666666">The IPT also seems to accept a flat file and I can get all the fields mapped. However, I'm not clear why it shows zero records in this summary. </font><font color="#ff0000">A problem???</font></span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><img src="cid:ii_150f7149778137bf" alt="Inline images 1" width="562" height="152"><br></span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><br></span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px">Using, Event as the core file and occurrence as an extension the validator works OK, but it does create an error "The extension data file contains references to core IDs that do not exist:", but I think this is something to do with where it assumes the core IDs are in the file (i.e. not in the 1st column).</span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><br></span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px">I think I've also got it working in the IPT, though I'm not yet seeing the benefit of the star format over the flat format. Are the benefits of the Star Schema format only related to the size of the DWC-A, or are there another benefits. If it does just relate to the size then I think it would be best to recommend the flat file format for all but the big users.</span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px">Regards</span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px">Quentin</span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><br></span></font></div><div><font color="#666666" face="arial, helvetica, verdana, sans-serif"><span style="font-size:12px;line-height:13.2px"><br></span></font></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><div><br></div><div>Dr. Quentin Groom</div><div>(Botany and Information Technology)</div><div><br></div><div>Botanic Garden Meise</div><div>Domein van Bouchout</div><div>B-1860 Meise</div><div>Belgium</div><div><br></div><div>ORCID: 0000-0002-0596-5376</div><div><br></div><div>Landline; +32 (0) 226 009 20 ext. 364</div><div>FAX:      +32 (0) 226 009 45</div><div><br></div><div>E-mail:     <a href="mailto:quentin.groom@plantentuinmeise.be" target="_blank">quentin.groom@plantentuinmeise.be</a></div><div>Skype name: qgroom</div><div>Website:    <a href="http://www.botanicgarden.be" target="_blank">www.botanicgarden.be</a></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On 11 November 2015 at 14:15, Tim Robertson <span dir="ltr"><<a href="mailto:trobertson@gbif.org" target="_blank">trobertson@gbif.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Thanks Quentin<div><br></div><div><div><span class=""><blockquote type="cite"><div><div dir="ltr">So if I understand correctly, the event file can be used as a Core, just as Taxon and Occurrence can be Core files. </div></div></blockquote><div><br></div></span><div>Yes, that’s correct</div><span class=""><br><blockquote type="cite"><div><div dir="ltr">Though as there can only be one Core ID I will still need to keep my taxon information in the Occurrence file.<div>Although I don't think this is a problem, it can get a little confusing in the documentation due to the crossover of terms between taxon and occurrence files.</div></div></div></blockquote><div><br></div></span><div>I’m afraid that is the kind of limitation I was eluding to about star schemas… You have to denormalise things into a format which flattens what you might otherwise model as 2 tables.</div><div><br></div><div>Currently a "Taxon” can’t be used as an extension, so you would need to use Occurrence.  Adding Taxon as an option would be technically possible, but that would be completely decoupled from the occurrences.  It would however allow you to have:</div><div><br></div><div>Core: Rows of Sampling event documenting e.g. a square on the ground sample on a specific period</div><div>  Extension taxon: List of species observed within the sampling event</div><div>  Extension occurrence: Documented evidence of specimens collected or observed</div><div><br></div><div>At the moment though, you would have to express species lists as occurrences, which might make some sense because they are effectively observations.</div><span class=""><br><blockquote type="cite"><div dir="ltr"><div><div>I'm happy to be a Guinea pig. I'll experiment with the validator if you think this should work and let you know how I get on.</div></div></div></blockquote><div><br></div></span>Thanks for this,</div><div><br></div><div>All the best,</div><div>Tim</div><div><div class="h5"><div><br><blockquote type="cite"><div dir="ltr"><div><div><br></div><div>Regards</div><div>Quentin</div></div></div><div class="gmail_extra"><br clear="all"><div><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div><br></div><div>Dr. Quentin Groom</div><div>(Botany and Information Technology)</div><div><br></div><div>Botanic Garden Meise</div><div>Domein van Bouchout</div><div>B-1860 Meise</div><div>Belgium</div><div><br></div><div>ORCID: 0000-0002-0596-5376</div><div><br></div><div>Landline; +32 (0) 226 009 20 ext. 364</div><div>FAX:      +32 (0) 226 009 45</div><div><br></div><div>E-mail:     <a href="mailto:quentin.groom@plantentuinmeise.be" target="_blank">quentin.groom@plantentuinmeise.be</a></div><div>Skype name: qgroom</div><div>Website:    <a href="http://www.botanicgarden.be/" target="_blank">www.botanicgarden.be</a></div><div><br></div></div></div></div></div></div>
<br><div class="gmail_quote">On 11 November 2015 at 11:58, Hannu Saarenmaa <span dir="ltr"><<a href="mailto:hannu.saarenmaa@helsinki.fi" target="_blank">hannu.saarenmaa@helsinki.fi</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>

  
    
    
  
  <div text="#000000" bgcolor="#ffffff">
    Quentin & Co<br>
    <br>
    It depends what you mean by "survey".   I would put each visit to a
    sampling location (such as a plot) in the event core, and put all
    the taxa that are observed in a non-core table.   The properties of
    the entire survey (project) would go to the EML metadata.<br>
    <br>
    Hannu<div><div><br>
    <br>
    On 2015-11-11 10:20, Quentin Groom wrote:
    </div></div><blockquote type="cite"><div><div>
      <div dir="ltr">I'm rather confused how the Darwin Core Star Schema
        is meant to work for survey data.
        <div><br>
        </div>
        <div>Darwin Core can have one of two Core files, taxon or
          occurrence. The most appropriate for a survey would seem to
          be occurrence. So I imagine that in the star schema you could
          also have a related event file detailing the date and location
          of each survey and a non-core taxon file detailing the taxa
          that are observed.</div>
        <div><br>
        </div>
        <div>However, this does not seem to be possible. The DWC-A
          validator (<a href="http://tools.gbif.org/dwca-validator/" target="_blank">http://tools.gbif.org/dwca-validator/</a>),
          assumes only on core id in the core file so you can't link an
          occurrence both to a taxon and to an event. This is also true
          in the Darwin Core Archive Assistant (<a href="http://tools.gbif.org/dwca-assistant/" target="_blank">http://tools.gbif.org/dwca-assistant/</a>).
          The solution seems to be to put all the information from the
          taxon core file into the occurrence file, but keep the
          separate event file linked with the core occurrence id.</div>
        <div><br>
        </div>
        <div>Is this correct? It seems rather counter intuitive.</div>
        <div><br>
        </div>
        <div>Regards</div>
        <div>Quentin<br clear="all">
          <div>
            <div>
              <div dir="ltr">
                <div>
                  <div dir="ltr">
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Dr. Quentin Groom</div>
                    <div>(Botany and Information Technology)</div>
                    <div><br>
                    </div>
                    <div>Botanic Garden Meise</div>
                    <div>Domein van Bouchout</div>
                    <div>B-1860 Meise</div>
                    <div>Belgium</div>
                    <div><br>
                    </div>
                    <div>ORCID: 0000-0002-0596-5376</div>
                    <div><br>
                    </div>
                    <div>Landline; +32 (0) 226 009 20 ext. 364</div>
                    <div>FAX:      +32 (0) 226 009 45</div>
                    <div><br>
                    </div>
                    <div>E-mail:     <a href="mailto:quentin.groom@plantentuinmeise.be" target="_blank">quentin.groom@plantentuinmeise.be</a></div>
                    <div>Skype name: qgroom</div>
                    <div>Website:    <a href="http://www.botanicgarden.be/" target="_blank">www.botanicgarden.be</a></div>
                    <div><br>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      </div></div><pre><fieldset></fieldset>
_______________________________________________
IPT mailing list
<a href="mailto:IPT@lists.gbif.org" target="_blank">IPT@lists.gbif.org</a>
<a href="http://lists.gbif.org/mailman/listinfo/ipt" target="_blank">http://lists.gbif.org/mailman/listinfo/ipt</a>
</pre>
    </blockquote>
    <br>
    <pre cols="72">-- 

Hannu Saarenmaa, Research Director
<a href="mailto:hannu.saarenmaa@uef.fi" target="_blank">hannu.saarenmaa@uef.fi</a>
Mobile <a href="tel:%2B358-50-4479668" value="+358504479668" target="_blank">+358-50-4479668</a>

University of Eastern Finland
Digitarium, SIB Labs, Joensuu Science Park
Länsikatu 15 (P.O. Box 111)
FI-80101 Joensuu

<a href="http://www.digitarium.fi/en" target="_blank">www.digitarium.fi/en</a> - Service Centre for High-Performance Digitisation
<a href="http://www.eubon.eu/" target="_blank">www.eubon.eu</a> - EU BON - GEO BON - Data Integration and Interoperability
</pre>
  </div>

</blockquote></div><br></div>
</blockquote></div><br></div></div></div></div></blockquote></div><br></div>