autotyp / autotyp-data

AUTOTYP data export
Creative Commons Attribution 4.0 International
38 stars 20 forks source link

Invalid object in PredicateClasses.json #26

Closed xrotwang closed 2 years ago

xrotwang commented 2 years ago

PredicateClasses.json contains 5 invalid objects like

  {
    "PredicateClassID": 13,
    "PredicateClassLabel": "<default>",
    "IndividualPredicates": [],
    "PredicateClassDescription": "used to cover all predicate classes not listed separately DO NOT USE ANY MORE - use pred cl. 1, 2, and 3 instead"
  },

lacking LID, Glottocode, etc.

tzakharko commented 2 years ago

There was an issue with JSON serialisation — the serialised dropped all variables with missing values. They are now exported as null in bf28c24ccc8e7d6caf24ad4931828101f2761109

The data itself is "correct", these are cross-language default predicate classes and they are not tied to specific language IDs. They should be probably removed from the database anyway though, as these entries are obsolete.