Blog · Data · · 5 min read
Categories that cross kingdoms
Trait databases usually keep every source’s own words in separate columns or raw strings. Each row is easy to defend, and the table has hundreds of siloed labels that leave most of the tree blank and block any comparison between a fern, a coral, a bacterium, and a bird. Ptree puts 11.1 million records across 42 properties (24 categorical and 18 numerical, with up to 82 sources feeding one property and 12 contributing to a single organism) into five to nine cross-kingdom bins per property, while keeping every source’s original word, scope, and citation underneath.
Every source dictionary is read whole before a reader runs. An unclassified word stops the build. Uncolored tiles mean no source spoke, never that a mapping was cautious.
Setting and Position
Habitat sources mix environment and placement in one column: forest beside arboreal, ocean beside infaunal. Ptree splits them into two properties. Setting reads 1,407 terms and admits 1,143 into 7 bins: ocean, coast, freshwater, wetland, land, host, and built. Position has 6: open, surface, buried, attached, elevated, and internal.
In Position, surface covers the seabed, the ground, and the water surface. When a vertebrate lineage moves ashore, Setting shifts from ocean to land while Position holds surface. Placements combine when an organism holds more than one: an arboreal tree frog, a climbing vine, a perching bird (AVONET Insessorial), and an epiphytic orchid all take attached and elevated; a sessile sponge and a rock-clinging lizard (saxicolous) both take surface and attached.
One field from Kew’s World Checklist of Vascular Plants, the orchid Agrostophyllum arabukanum listed as "epiphytic rhizomatous subshrub", breaks into three grammatical facts that feed 9 categories across 7 properties (Setting, Position, Organization, Reproduction, Growth form, Persistence, and Shape) without claiming parasitic Nutrition.
Where a source states only one axis, Ptree leaves the other blank. BacDive’s isolation path Environmental → Aquatic → Sediment places a microbe in buried Position and withholds Setting unless another path on the same strain names the water; among BacDive strains that do state salinity, 59% are ocean, 29% freshwater, and 13% coast. Soda and salt lakes (Natronomonas, Arthrospira) stay in freshwater as inland water because salt concentration belongs to Salinity, its own log scale from 0.1 to 300 g/kg.
One question from bacteria to oaks
A category has to separate neighboring orders and families when you zoom in, not just separate kingdoms at the root.
Ontogeny avoids the word “larval,” which stops at animals. Its staged bin means a body of another form first, which the adult replaces, against direct, the adult’s own form from the start. That one contrast separates a tadpole from a froglet in amphibians, a caterpillar (holometabolous) from a grasshopper nymph (hemimetabolous) in insects, trochophores and veligers in marine invertebrates, and a fern’s free-living prothallus from a seed plant’s seedling in plants. On Ontogeny’s delivery axis, a seed is an embryo released as an egg is, and a seahorse’s male brood pouch (androviviparous) counts as carried. Each of Ontogeny’s three paired questions (direct/staged, released/carried, altricial/precocial) sums to 100% on its own, so a mammal reads direct 100% beside carried 100%.
Sex & mating drops separate zoological (gonochoristic, protogynous) and botanical (dioecious, monoecious) buckets in favor of how far apart the sexes sit: separate in different individuals, sequential in one individual over time, side by side in different parts of one individual (corn’s tassel and ear, pine cones, monoecious shoots), and together in every flower or body (a lily’s flower beside a snail’s body).
Movement puts a bacterium’s flagellar motor (BacDive motility = yes) and a walking animal in the same mobile bin, moving under its own power. When a source names a specific mode (swimming, flying, climbing, burrowing, ground-moving), that mode supersedes generic mobile without erasing stationary or drifting when both hold.
Nutrition reads 222 source terms from 49 sources and admits 201 into 9 bins. Its parasitic bin (nutrients taken from a host or its food supply) groups 23 terms: hematophage, leaf miner, stem borer, kleptoparasite, cell-sucker, entomopathogen, mycoparasite, parasitoid, Kew’s parasitic plants, and FishBase’s commensals feeding on a host’s prey. Fungivores sit in herbivorous (grazing a living modular body or eating spores mirrors herbivory), while bacterivores stay predatory because eating a cell kills it.
Context decides what a word means
The same word in two databases often establishes different facts.
FishBase’s DemersPelag = pelagic entails swimming because every row in FishBase is a fish. SeaLifeBase’s identical column entails nothing for pelagic, because open water holds swimming squids beside drifting Physalia and Velella. EltonTraits’ strataWaterBelow entails no swimming either: its 405 all-water-below birds include plunge-diving frigatebirds, terns, kingfishers, and pelicans.
BacDive names every light-driven strain with photo- (phototroph, photoautotroph, photolithoautotroph). Auditing its bare autotroph strains showed 9 of 9 are iron oxidizers, sulfur oxidizers, methanogens, or hyperthermophilic archaea, all chemosynthetic. Its three mixotroph strains are chemosynthetic and absorptive, while TraitBank’s mixotrophic combines light and organic carbon (photosynthetic and absorptive).
In Organization, a plant storage organ maps to clonal (and asexual in Reproduction) only where AusTraits data show it multiplies the plant: 77% of bulbs, 90% of pseudobulbs, and 60% of rhizomes spread vegetatively, compared with roughly a third of stem tubers and a fifth of corms, which mostly renew the same plant each year. Bulbs, pseudobulbs, and rhizomes read clonal; tubers and corms do not. And in TraitBank, a prokaryote’s multicellular filament reads group (cells are the units joined), whereas a multicellular eukaryote is itself the unit, so multicellular adds no Organization claim for an animal or plant.
Coverage and contrast
Every bin takes one of roughly five to nine colors in OKLCH and Display-P3. Each swatch clears WCAG 2.2 AA 4.5:1 contrast under black text and maintains CIEDE2000 separation under normal vision and mild deuteranomaly.
When only part of a clade has records, Ptree keeps the recorded category proportions intact and washes the color toward white along one curve for every property:
retained(c) = 1.03c / (c + 0.03)
At 10% descendant coverage, a tile keeps 79% of its canonical color; at 5%, 64%; at 1%, 26%; at 0.1%, 3%; and at 0%, pure unknown white.
- all stationary100% known
- almost all stationary50% known
- almost all stationary15% known
- almost all stationary4% known
- 0% known
The palette workbench checks every washed color against every full-strength color so a sparsely covered category cannot resemble a well-covered neighbor. Specialist distinctions that cannot survive that budget stay in the references popover, where every colored tile keeps its exact source term, scope, citation, and delivery basis.