relaton / relaton-data-bipm

Relaton bibliographic data for BIPM
2 stars 1 forks source link

(URGENT) Data fetched by Relaton-BIPM for "Brochure" is wrong #19

Closed ronaldtse closed 1 year ago

ronaldtse commented 2 years ago

https://github.com/relaton/relaton-data-bipm/blob/be9b5c3e5dbd720d3c989006b881a30f99f18a33/data/si-brochure.yaml#L101-L103

Look at this from relaton fetch "BIPM Brochure":

<bibdata type="standard">
  <fetched>2022-08-29</fetched>
  <title format="text/plain" language="en">The International System of Units</title>
  <title format="text/plain" language="en">Historical notes on the development of the International System of Units and its base units</title>
  <title format="text/plain" language="fr">Le système international d’unités</title>
  <title format="text/plain" language="fr">Notes historiques sur l’évolution du Système international d’unités et ses unités de base</title>
  <docidentifier type="BIPM" primary="true">BIPM Brochure</docidentifier>
  <docnumber>Brochure</docnumber>
  <contributor>
    <role type="author"/>
    <organization>
      <name>Bureau international des poids et mesures</name>
      <abbreviation>BIPM</abbreviation>
    </organization>
  </contributor>
  <contributor>
    <role type="publisher"/>
    <organization>
      <name>Bureau international des poids et mesures</name>
      <abbreviation>BIPM</abbreviation>
    </organization>
  </contributor>
  <contributor>
    <role type="author"/>
    <organization>
      <name>Bureau International des Poids et Mesures</name>
      <abbreviation>BIPM</abbreviation>
    </organization>
  </contributor>
  <contributor>
    <role type="publisher"/>
    <organization>
      <name>Bureau International des Poids et Mesures</name>
      <abbreviation>BIPM</abbreviation>
    </organization>
  </contributor>
  <edition>9</edition>
  <version>
    <revision-date>2019-05-20</revision-date>
  </version>
  <language>fr</language>
  <language>en</language>
  <script>Latn</script>
  <status>
    <stage>in-force</stage>
  </status>
  <copyright>
    <from>2019</from>
    <owner>
      <organization>
        <name>Bureau international des poids et mesures</name>
        <abbreviation>BIPM</abbreviation>
      </organization>
    </owner>
  </copyright>
  <copyright>
    <from>2019</from>
    <owner>
      <organization>
        <name>Bureau International des Poids et Mesures</name>
        <abbreviation>BIPM</abbreviation>
      </organization>
    </owner>
  </copyright>
  <ext>
    <doctype>brochure</doctype>
    <editorialgroup>
      <committee acronym="BIPM">
        <variant language="en" script="Latn">International Bureau of Weights and Measures</variant>
        <variant language="fr" script="Latn">Bureau International des Poids et Mesures</variant>
      </committee>
    </editorialgroup>
    <structuredidentifier>
      <docnumber>Brochure</docnumber>
      <appendix>4</appendix>
    </structuredidentifier>
  </ext>
</bibdata>

This data completely mixes up data from si-brochure.yaml and sib-a4.yaml. The title, and the structured identifier.

This must be fixed ASAP.

ronaldtse commented 2 years ago

There are also two copies of <copyright> elements.

andrew2net commented 1 year ago

Fixed in the relaton-bipm v 1.13.9

$ relaton fetch "BIPM SI Brochure"
[relaton-bipm] ("BIPM SI Brochure") fetching...
[relaton-bipm] ("BIPM SI Brochure") found BIPM SI Brochure
<bibdata type="standard">
  <fetched>2022-09-22</fetched>
  <title type="main" format="text/plain" language="en">The International System of Units</title>
  <title type="cover" format="text/plain" language="en">The International System of Units (SI)</title>
  <title type="main" format="text/plain" language="fr">Le Système international d’unités</title>
  <title type="cover" format="text/plain" language="fr">Le Système international d’unités (SI)</title>
  <docidentifier type="BIPM" primary="true">BIPM SI Brochure</docidentifier>
  <docidentifier type="ISBN">978-92-822-2272-0</docidentifier>
  <docnumber>SI Brochure</docnumber>
  <contributor>
    <role type="author"/>
    <organization>
      <name>Bureau International des Poids et Mesures</name>
      <abbreviation>BIPM</abbreviation>
    </organization>
  </contributor>
  <contributor>
    <role type="publisher"/>
    <organization>
      <name>Bureau International des Poids et Mesures</name>
      <abbreviation>BIPM</abbreviation>
    </organization>
  </contributor>
  <edition>9</edition>
  <version>
    <revision-date>2019-05-20</revision-date>
    <draft>v1.07</draft>
  </version>
  <language>en</language>
  <language>fr</language>
  <script>Latn</script>
  <status>
    <stage>in-force</stage>
  </status>
  <copyright>
    <from>2019</from>
    <owner>
      <organization>
        <name>Bureau International des Poids et Mesures</name>
        <abbreviation>BIPM</abbreviation>
      </organization>
    </owner>
  </copyright>
  <ext>
    <doctype>brochure</doctype>
    <editorialgroup>
      <committee acronym="BIPM">
        <variant language="en" script="Latn">International Bureau of Weights and Measures</variant>
        <variant language="fr" script="Latn">Bureau International des Poids et Mesures</variant>
      </committee>
    </editorialgroup>
    <si-aspect>full</si-aspect>
    <structuredidentifier>
      <docnumber>Brochure</docnumber>
      <part>1</part>
    </structuredidentifier>
  </ext>
</bibdata>
ronaldtse commented 1 year ago

Thank you @andrew2net ! I've recently learnt that the actual committee that manages the SI Brochure is the CCU, but that's a separate problem...