<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//TaxonX//DTD Taxonomic Treatment Publishing DTD v0 20100105//EN" "../../nlm/tax-treatment-NS0.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tp="http://www.plazi.org/taxpub" article-type="research-article">
  <front>
    <journal-meta>
      <journal-id journal-id-type="publisher-id">63</journal-id>
      <journal-id journal-id-type="index">urn:lsid:arphahub.com:pub:0E0032F4-55AE-5263-8B3C-F4DD637C30C2</journal-id>
      <journal-title-group>
        <journal-title xml:lang="en">Biodiversity Information Science and Standards</journal-title>
        <abbrev-journal-title xml:lang="en">BISS</abbrev-journal-title>
      </journal-title-group>
      <issn pub-type="epub">2535-0897</issn>
      <publisher>
        <publisher-name>Pensoft Publishers</publisher-name>
      </publisher>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.3897/biss.6.91078</article-id>
      <article-id pub-id-type="publisher-id">91078</article-id>
      <article-id pub-id-type="manuscript">20078</article-id>
      <article-categories>
        <subj-group subj-group-type="heading">
          <subject>Conference Abstract</subject>
        </subj-group>
        <subj-group subj-group-type="conference-part">
          <subject>SYM05 - Standardizing Biodiversity Data Quality</subject>
        </subj-group>
      </article-categories>
      <title-group>
        <article-title>It Takes Years for a Good Wine to Mature: Task Group 2 - data quality tests and assertions</article-title>
      </title-group>
      <contrib-group content-type="authors">
        <contrib contrib-type="author" corresp="yes">
          <name name-style="western">
            <surname>Belbin</surname>
            <given-names>Lee</given-names>
          </name>
          <email xlink:type="simple">leebelbin@gmail.com</email>
          <uri content-type="orcid">https://orcid.org/0000-0001-8900-6203</uri>
          <xref ref-type="aff" rid="A1">1</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Chapman</surname>
            <given-names>Arthur</given-names>
          </name>
          <uri content-type="orcid">https://orcid.org/0000-0003-1700-6962</uri>
          <xref ref-type="aff" rid="A2">2</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Morris</surname>
            <given-names>Paul J.</given-names>
          </name>
          <uri content-type="orcid">https://orcid.org/0000-0002-3673-444X</uri>
          <xref ref-type="aff" rid="A3">3</xref>
        </contrib>
        <contrib contrib-type="author" corresp="no">
          <name name-style="western">
            <surname>Wieczorek</surname>
            <given-names>John Richard</given-names>
          </name>
          <uri content-type="orcid">https://orcid.org/0000-0003-1144-0290</uri>
          <xref ref-type="aff" rid="A4">4</xref>
        </contrib>
      </contrib-group>
      <aff id="A1">
        <label>1</label>
        <addr-line content-type="verbatim">Blatant Fabrications Pty Ltd, Hobart, Australia</addr-line>
        <institution>Blatant Fabrications Pty Ltd</institution>
        <addr-line content-type="city">Hobart</addr-line>
        <country>Australia</country>
      </aff>
      <aff id="A2">
        <label>2</label>
        <addr-line content-type="verbatim">Australian Biodiversity Information Service, Ballan, Australia</addr-line>
        <institution>Australian Biodiversity Information Service</institution>
        <addr-line content-type="city">Ballan</addr-line>
        <country>Australia</country>
      </aff>
      <aff id="A3">
        <label>3</label>
        <addr-line content-type="verbatim">Harvard University, Boston, United States of America</addr-line>
        <institution>Harvard University</institution>
        <addr-line content-type="city">Boston</addr-line>
        <country>United States of America</country>
      </aff>
      <aff id="A4">
        <label>4</label>
        <addr-line content-type="verbatim">University of California, Berkeley, United States of America</addr-line>
        <institution>University of California</institution>
        <addr-line content-type="city">Berkeley</addr-line>
        <country>United States of America</country>
      </aff>
      <author-notes>
        <fn fn-type="corresp">
          <p>Corresponding author: Lee Belbin (<email xlink:type="simple">leebelbin@gmail.com</email>).</p>
        </fn>
        <fn fn-type="edited-by">
          <p>Academic editor: </p>
        </fn>
      </author-notes>
      <pub-date pub-type="collection">
        <year>2022</year>
      </pub-date>
      <pub-date pub-type="epub">
        <day>01</day>
        <month>08</month>
        <year>2022</year>
      </pub-date>
      <volume>6</volume>
      <elocation-id>e91078</elocation-id>
      <uri content-type="arpha" xlink:href="http://openbiodiv.net/C3F34F61-1D31-5813-BB69-B836123B5B6B">C3F34F61-1D31-5813-BB69-B836123B5B6B</uri>
      <permissions>
        <copyright-statement>Lee Belbin, Arthur Chapman, Paul J. Morris, John Richard Wieczorek</copyright-statement>
        <license license-type="creative-commons-attribution" xlink:href="http://creativecommons.org/licenses/by/4.0/" xlink:type="simple">
          <license-p>This is an open access article distributed under the terms of the Creative Commons Attribution License (CC BY 4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.</license-p>
        </license>
      </permissions>
      <abstract>
        <label>Abstract</label>
        <p><ext-link ext-link-type="uri" xlink:href="https://github.com/tdwg/bdq/tree/master/tg2">Data Quality Task Group 2</ext-link> was established to create a suite of core tests and associated assertions about the 'quality' of biodiversity informatics data (<xref ref-type="bibr" rid="B8005633">Chapman et al. 2020</xref>). The group has been active since January 2017, about four years longer than its four main members would have anticipated. We all thought “How hard could it be?” The answer was “Harder than we thought!” We have invested well over two years full time into this project. There were multiple times over the past five years where we thought we were 95% done, but we were wrong. Were we dumb? I doubt it! The authors (other than the lead author) are highly experienced in biodiversity data quality, <ext-link ext-link-type="uri" xlink:href="https://dwc.tdwg.org/">Darwin Core</ext-link> and data testing. Neither were we lazy.</p>
        <p>Why has it gone so slowly? It is mostly due to the complexity of the task and the inability to meet face-to-face. Zoom just doesn’t cut it for this type of work. We achieved the most at our one face-to-face meeting in Gainesville (Florida) in 2018. Our advances over the past year have come from rounds of feedback between the test specifications, test implementation, development of data for validating the tests and comparison between results from implementations and the expectations of the validation data. There are hopefully useful lessons in this for similar projects.</p>
        <p>We now have a solid base where future evolution, such as tests for specific environments, will be made relatively easy. The major components of this project are the <ext-link ext-link-type="uri" xlink:href="https://github.com/tdwg/bdq/blob/master/tg2/core/TG2_tests.csv">99 tests</ext-link> themselves, the parameters for these tests (see <ext-link ext-link-type="uri" xlink:href="https://github.com/tdwg/bdq/issues/122">https://github.com/tdwg/bdq/issues/122</ext-link>), a <ext-link ext-link-type="uri" xlink:href="https://github.com/tdwg/bdq/issues/152">vocabulary of the terms</ext-link> used in the framework and <ext-link ext-link-type="uri" xlink:href="https://github.com/tdwg/bdq/tree/master/tg2/core/testdata">test data</ext-link> for validating implementations of the tests. </p>
        <p>We remain focused on what we call core tests: those that provide power in evaluating ‘fitness for use’, are widely applicable and are relatively easy to implement. The test descriptions we have settled on are:</p>
        <p><list list-type="order">
          <list-item>
            <p>A human readable label (split into a test class, a target <ext-link ext-link-type="uri" xlink:href="https://dwc.tdwg.org/terms/">Darwin Core term</ext-link> and an ‘action’);</p>
          </list-item>
          <list-item>
            <p>A Globally Unique Identifier for the test (a GUID);</p>
          </list-item>
          <list-item>
            <p>A simple English description;</p>
          </list-item>
          <list-item>
            <p>Test class from the Fitness-For-Use Framework (<ext-link ext-link-type="uri" xlink:href="https://tdwg.github.io/bdq/tg1/site/">Data Quality Task Group 1</ext-link>): Validation, Amendment, Measure or Issue;</p>
          </list-item>
          <list-item>
            <p>Resource Type (all of the Core tests operate on a single record); </p>
          </list-item>
          <list-item>
            <p>Information Elements (specified as the applicable <ext-link ext-link-type="uri" xlink:href="https://dwc.tdwg.org/terms/#:~:text=Capitalized%20terms%2C%20such%20as%20Occurrence,List%20of%20Darwin%20Core%20terms.">Darwin Core Class</ext-link> and as a list of specific <ext-link ext-link-type="uri" xlink:href="https://dwc.tdwg.org/list/">Darwin Core terms</ext-link> required as inputs for the test);</p>
          </list-item>
          <list-item>
            <p>Specification (an explanation of how the test works from an implementation perspective);</p>
          </list-item>
          <list-item>
            <p>Data quality dimension (from the Fitness-for-Use Framework);</p>
          </list-item>
          <list-item>
            <p>Warning type (ambiguous, amended, incomplete, invalid, issue, report, unlikely);</p>
          </list-item>
          <list-item>
            <p>Parameters (options that allow implementations to behave differently in clearly defined ways such as the use of a national species list);</p>
          </list-item>
          <list-item>
            <p>Source Authority (external references required by the test);</p>
          </list-item>
          <list-item>
            <p>An example;</p>
          </list-item>
          <list-item>
            <p>Source (the origin of the test);</p>
          </list-item>
          <list-item>
            <p>References;</p>
          </list-item>
          <list-item>
            <p>Link to reference implementations;</p>
          </list-item>
          <list-item>
            <p>Link to source code and</p>
          </list-item>
          <list-item>
            <p>Notes (explanations of subtle or not so subtle aspects of the test).</p>
          </list-item>
        </list></p>
        <p>The composition of the core tests has been stable for over a year. We have generated most of the test data using the template: the applicable test, a unique identifier, input data, expected output data, the response status (e.g., “internal prerequisites not met”), the response result (e.g., “not compliant”), and an optional comment.</p>
        <p>What remains to be done? We need to complete the test data, produce normative and non-normative documentation, and transform our work into a TDWG <ext-link ext-link-type="uri" xlink:href="https://www.tdwg.org/standards/status-and-categories/">Technical Specification</ext-link>. While TG2 is over 95% complete, we would still welcome anyone who is interested to learn about biodiversity data quality to contribute.</p>
      </abstract>
      <kwd-group>
        <label>Keywords</label>
        <kwd>specifications</kwd>
        <kwd>vocabulary</kwd>
        <kwd>biodiversity data</kwd>
        <kwd>validation</kwd>
        <kwd>amendment</kwd>
        <kwd>report</kwd>
      </kwd-group>
      <counts>
        <fig-count count="0"/>
        <table-count count="0"/>
        <ref-count count="1"/>
      </counts>
    </article-meta>
    <notes>
      <sec sec-type="Presenting author">
        <title>Presenting author</title>
        <p>Lee Belbin</p>
      </sec>
      <sec sec-type="Presented at">
        <title>Presented at</title>
        <p>TDWG 2022</p>
      </sec>
    </notes>
  </front>
  
  <back>
    <ack>
      <title>Acknowledgements</title>
      <p>We acknowledge the significant contributions of Paula Zermoglio and Alex Thompson as original TG2 team members. We also value the comments of Deborah Paul and Allan Koch Veiga on our GitHub issues.</p>
    </ack>
    <ref-list>
      <title>References</title>
      <ref id="B8005633">
        <element-citation publication-type="article">
          <person-group person-group-type="author">
            <name name-style="western">
              <surname>Chapman</surname>
              <given-names>Arthur</given-names>
            </name>
            <name name-style="western">
              <surname>Belbin</surname>
              <given-names>Lee</given-names>
            </name>
            <name name-style="western">
              <surname>Zermoglio</surname>
              <given-names>Paula</given-names>
            </name>
            <name name-style="western">
              <surname>Wieczorek</surname>
              <given-names>John</given-names>
            </name>
            <name name-style="western">
              <surname>Morris</surname>
              <given-names>Paul</given-names>
            </name>
            <name name-style="western">
              <surname>Nicholls</surname>
              <given-names>Miles</given-names>
            </name>
            <name name-style="western">
              <surname>Rees</surname>
              <given-names>Emily Rose</given-names>
            </name>
            <name name-style="western">
              <surname>Veiga</surname>
              <given-names>Allan</given-names>
            </name>
            <name name-style="western">
              <surname>Thompson</surname>
              <given-names>Alexander</given-names>
            </name>
            <name name-style="western">
              <surname>Saraiva</surname>
              <given-names>Antonio</given-names>
            </name>
            <name name-style="western">
              <surname>James</surname>
              <given-names>Shelley</given-names>
            </name>
            <name name-style="western">
              <surname>Gendreau</surname>
              <given-names>Christian</given-names>
            </name>
            <name name-style="western">
              <surname>Benson</surname>
              <given-names>Abigail</given-names>
            </name>
            <name name-style="western">
              <surname>Schigel</surname>
              <given-names>Dmitry</given-names>
            </name>
          </person-group>
          <year>2020</year>
          <article-title>Developing Standards for Improved Data Quality and for Selecting Fit for Use Biodiversity Data</article-title>
          <source>Biodiversity Information Science and Standards</source>
          <volume>4</volume>
          <pub-id pub-id-type="doi">10.3897/biss.4.50889</pub-id>
        </element-citation>
      </ref>
    </ref-list>
  </back>
</article>
