Jump to content
Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Backend template for accessions on Landrace.Wiki.

  • Populated by Form:Accession (or future accession forms).
  • Renders the infobox via
Accession

.

  • Sets core SemanticMediaWiki properties via {{#set}}.

Normalization rule: - Page-type fields must be plain titles (no ...), multi-values separated by ", " (comma+space). - Relationship fields (parent_accession, mother_plant_id, father_plant_id,

 related_accession, same_population_accessions) are comma-separated lists of page
 titles. Each is split with #arraymap before #set, so one value per accession is stored; setting the list
 unsplit stored the whole list as a single page title and broke every reverse query.

- Provenance evidence fields (regional_corroboration, population_corroboration,

 identity_confirmation) are lists of page titles separated by ";" (semicolon), because some
 accession and source titles contain commas. Each is split with #arraymap before #set. Each source is entered
 once, at the highest level it supports; see Property:Has regional corroboration.

- genebank_accessions and sequence_data take a run of Template:External accession

 calls, one per external accession: a genebank holding the same seed lot, or archived sequence data from its plants.
 Each call stores its own subobject, so nothing here is #set. What a study found from that data is
 recorded on an analysis page (below), which links the archived data.

- An analysis of the accession's material (genotyping, genome sequencing, stable isotope ratios, an infrared

 spectrum, a cannabinoid assay, a measurement of the achenes) has its own page,
 Analysis:<accession ID>/<type> <n>, made with Template:Analysis. The
 infobox lists the accession's analyses (analyses, from Module:Analysis): every page whose
 Property:Is analysis of names this accession. Nothing is entered on the accession for it.

- appellation takes the bare name (Grahan). Has appellation stores the appellation page title,

 Grahan (appellation), through Module:Appellation, so accessions link the appellation pages.

- collection_date, sample_harvest_date and eradication_date are stored

 through Module:Accession date, which rewrites a day-first dd/mm/yyyy as yyyy-mm-dd. SMW reads an
 ambiguous nn/nn/yyyy month-first, so 03/09/2023 was stored as 9 March 2023. ISO dates, years and
 prose pass through unchanged. The infobox shows the same dates in words (3 September 2023).

- ethnic_group takes the titles of ethnic-group pages (Kaloeng people), separated by

 ", " (comma+space). Each is split with #arraymap and stored as Property:Has ethnic group, which the
 ethnic-group pages query to list their accessions. Fill it only where a source names the people of the
 collection site; never infer it from the district, and leave it empty where the locality is withheld.

- coordinate_uncertainty is how far, in metres, the place the coordinates describe may lie from

 the point: a whole number of metres, no unit (3000, not 3 km). It is stored as
 Property:Has coordinate uncertainty. georeference_basis says what kind of point the
 coordinates are, one of the values listed on Property:Has georeference basis, and is stored there.
 Both are stored only when coordinates is set. On a ZOM- accession they are filled here when
 the page leaves them empty: the coordinates are the field point displaced by up to 500 m before they are
 entered (see the Privacy policy), so the basis is
 obfuscated field point and the uncertainty 500. On every other accession they are filled
 per page, from what the page's Talk page says about where the point comes from.

- The plant descriptors (sexual_characteristics, photoperiod_response,

 chemotype, growth_pattern, branching, leaf_shape,
 leaf_color, leaf_anthocyanin, stem_color, stigma_color,
 serration, flower_structure, flower_density,
 flower_cluster_size, flower_cluster_shape, terpene_profile,
 seed_viability) are stored and shown through Module:Accession descriptors, which
 maps each value to the wiki's descriptor words, after the UPOV hemp and cannabis test guideline
 (TG/276/2). The page keeps the words it was written with: Christmas tree is stored
 and shown as the plant shape Conical, Intermediate leaflets as Medium. Values that
 describe a condition or a stage rather than the character (a woody stem, immature stigmas) are
 shown under Also noted and not stored. Unknown stores nothing. Several values in one
 parameter are separated by ", " (comma+space).

- population is the title of the accession's population page, one page in

 Category:Populations, with no …. It is stored as Property:Has population. Leave it
 empty for an accession with no collector, place and date, and never fill it from the appellation: a
 population is placed from its own evidence. After filling it, purge the population page, so its holdings
 reading counts the accession's seed lots.

- The holder's own seed lot (its main lot) is built from the accession's fields by Module:Seed lot and

 stored as a subobject of the page (#lot): seed_storage_location is the holder,
 seed_quantity the lot's first, undated, inventory report. Only seed is held as a lot: an
 accession whose collection_method is Seeds, or is not recorded, gets one; a herbarium specimen, a
 tissue sample or any other method never does. The lot_ fields describe that lot (see Template:Seed lot for each
 field): lot_site, lot_site_country, lot_backup_distance,
 lot_distance_measured_from, lot_received_date, lot_original_kept,
 lot_handed_out, lot_backup_status, lot_status,
 lot_status_date, lot_gone_reason, lot_source.
 lot_inventory takes a run of Template:Lot inventory calls and
 lot_germination_tests a run of Template:Lot germination test calls, one per report.
 Every other lot of the accession (a backup, a portion passed on, another holder's seed) has its own page,
 Lot:<accession ID>/<site code>, made with Form:Seed lot; the infobox lists them all.

- The lineage facts the seed lot reading needs, all true of every lot of the accession:

 collection (the generation-0 accessions this traces to, ", "-separated; several for a
 regrow from pooled collections), regrow_generation (0 = seed from the field),
 regrow_isolation (one of the values on Property:Has regrow isolation; empty means not
 recorded), regrow_site_lines (how many cannabis lines were grown at the site where the seed was
 made, in that season, this one included; a bare number; cannabis on other people's land nearby is not counted
 here, the isolation records it) and regrow_site_lines_basis (told or
 counted), which are shown beside the isolation and do not change the seed lot status, parent_females, parent_males and parent_total (the
 plants the seed was taken from: for a field collection the field plants, for a regrow its parents; the
 total when the sexes were not counted), parent_count_basis (counted or
 estimate) and copy_status (cross between populations, or empty).
 For a grow-out, three more: regrow_setting (where it was grown: Outdoors,
 Greenhouse or Under lights), regrow_finished (Yes when
 every plant finished flowering and set seed, No when some did not) and regrow_removed
 (plants removed before pollination, ", "-separated: None, Late-flowering,
 Tall, Hermaphrodites, Weak or sick, Other; males pulled
 after pollination are not removals and are not recorded). Where it was grown is never a place.
 Empty means not known; nothing is filled in for a missing value.

- minimum_height and maximum_height are metres,

 minimum_flowering_time and maximum_flowering_time weeks,
 population_hermaphroditism a percentage and seed_weight grams: bare numbers,
 no unit. The properties declare the units.

- The seed (achene), measured or looked at dry and ripe, as Help:Photographing seeds describes:

 seed_length and seed_width are the mean length and width in millimetres (bare
 numbers), seed_length_width the mean of each seed's length divided by its width, and
 seeds_measured how many seeds the means come from. seed_colour (or
 seed_color), seed_marbling, perianth and seed_base take the
 states on Property:Has seed colour, Property:Has seed marbling, Property:Has perianth persistence and
 Property:Has seed base, through Module:Accession descriptors. The weight of 1,000 seeds belongs to the
 seed lot's inventory report (thousand_seed_weight in Template:Lot inventory). These are
 descriptions of the seed: nothing on the page reads them as a sign of wild or cultivated origin.

- registered_variety names the registered plant variety (a line certified by a government variety

 register) that this seed is: the variety's name as the register gives it, which is the title of its article or
 of a redirect to the article (Issara 01, Tanao Si Kan Khaw WA1), with no
 …. Several values are separated by ";" (semicolon). Each is stored twice: as
 Property:Has registered variety (a page; a redirect is stored as the article it leads to, so the article
 lists the accession under Registered line accessions) and as Property:Has registered variety name (the
 name as written, so an article covering several registered lines shows which line each accession is). Fill
 it only when the seed is the registered line itself: seed held by the breeder who registered it, or a lot
 traced to that seed. A lot that only shares the name is not the registered line; its name goes in
 synonyms. Name the line, its breeder and its registration in the accession's text as well,
 attributed to the source that identifies the seed.