LCC 1.2 RTF Avatar
  1. OMG Issue

LCC12 — The names preferred should reflect the admin languages of the country

  • Key: LCC12-13
  • Status: closed  
  • Source: Adaptive ( Mr. Pete Rivett)
  • Summary:

    At the moment they default to the English name if that's present

  • Reported: LCC 1.1b1 — Fri, 29 Oct 2021 23:03 GMT
  • Disposition: Resolved — LCC 1.2
  • Disposition Summary:

    Create a label for each admin language; use codes not names for subdivision URIs

    The current algorithm is at the mercy of the sequence of names in the XML, which as we've seen can vary between releases of the ISO XML file.
    This also affects the URI for the subdivisions, which currently uses the same name.
    The resolution then is to update the algorithm used for the subdivisions as follows:

    • for URI, use the official code followed by "-Subdivision". For example:
    • For backward compatibility use the previous algorithm to create a sameAs triple:
      <owl:NamedIndividual rdf:about="&lcc-3166-2-za;Oos-Kaap">
      <owl:sameAs rdf:resource="&lcc-3166-2-za;ZA-EC-Subdivision"/>

    For regionkinds the ISO XML has only a numeric id attribute, so that is used used with the country code and suffix -RegionKind.
    For example:
    <owl:NamedIndividual rdf:about="&lcc-3166-2-za;Provinsie">
    <owl:sameAs rdf:resource="&lcc-3166-2-za;ZA-428-RegionKind"/>

    Likewise territories only have a numeric id attribute so that is used in the URI with the coutnry code, suffixed -Territory. For example:
    <owl:NamedIndividual rdf:about="&lcc-3166-2-za;MarionIsland">
    <owl:sameAs rdf:resource="&lcc-3166-2-za;ZA-1120-Territory"/>

    • For names create a rdfs:label for each name with a language code which is an administrative language. For example South Africa has:
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Afrikaans"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;English"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;SouthNdebele"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-2;Pedi"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;SouthernSotho"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Swati"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Tswana"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Tsonga"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Venda"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Xhosa"/>
      <lcc-cr:usesAdministrativeLanguage rdf:resource="&lcc-639-1;Zulu"/>

    For countries generate rdfs:label applied to the short-name.
    Using South Africa this gives:
    <rdfs:label xml:lang="af">Suid-Afrika</rdfs:label>
    <rdfs:label xml:lang="en">South Africa</rdfs:label>
    <rdfs:label xml:lang="nr">Sewula Afrika</rdfs:label>
    <rdfs:label xml:lang="st">Afrika-Borwa</rdfs:label>
    <rdfs:label xml:lang="ss">Ningizimu Afrika</rdfs:label>
    <rdfs:label xml:lang="tn">Afrika-Borwa</rdfs:label>
    <rdfs:label xml:lang="ts">Afrika-Dzonga</rdfs:label>
    <rdfs:label xml:lang="ve">Afrika Tshipembe</rdfs:label>
    <rdfs:label xml:lang="xh">Mzantsi Afrika</rdfs:label>
    <rdfs:label xml:lang="zu">Ningizimu Afrika</rdfs:label>

    And for the subdivision ZA-EC
    <rdfs:label xml:lang="af">Oos-Kaap</rdfs:label>
    <rdfs:label xml:lang="en">Eastern Cape</rdfs:label>
    <rdfs:label xml:lang="nr">iPumalanga-Kapa</rdfs:label>
    <rdfs:label xml:lang="st">Kapa Botjhabela</rdfs:label>
    <rdfs:label xml:lang="tn">Kapa Botlhaba</rdfs:label>
    <rdfs:label xml:lang="ts">Kapa-Vuxa</rdfs:label>
    <rdfs:label xml:lang="ve">Kapa Vhubvaḓuvha</rdfs:label>
    <rdfs:label xml:lang="xh">Mpuma-Koloni</rdfs:label>
    <rdfs:label xml:lang="zu">Mpumalanga-Kapa</rdfs:label>
    (these are in addition to the hasLocalShortName triples)

    The name(s) used in the skos:definition arbitrarily use the first name. For example for region kind and subdivision name.
    <skos:definition>the provinsie of Oos-Kaap in the country of South Africa</skos:definition>

    This resolution also removes the redundant "individual representing" from the skos:definition text.

  • Updated: Thu, 31 Mar 2022 19:32 GMT