Wikidata retrieval code: generate Wikidata references & basic statements
This MR depends on function-schemata patch function-schemata!160 (merged) which defines the Wikidata reference types and their uses in Z6001/2/3/4/5/6. It has been pulled through in the 2nd commit, because it creates a breaking change for earlier versions of the tests in this MR. That pull-through includes: New changes:
-
840fb6d
package-lock: Bump micromatch, per npm audit -
58d403a
definitions: Add Wikidata reference types Z6691–Z6696, add/update retrieval functions to use them
Wikidata statements for which snak.snaktype === 'value' && snak.datavalue.type === 'string' are extracted and transformed into instances of Z6003. More statements will be extracted in future work.
L3435_expected.json and L3435-F1_expected.json were previously (unnecessarily) in normal form; that is corrected here.
Z6005K6/'Lexeme senses' is not generated yet; that's future work.
Bug: T370072
Closes T370072