Skip to contentSkip to Content
ConventionsRelationship model

Relationship model

Stable

The core model

Cardinality

RelationshipCardinalityNotes
Chapter to questionmany to manyA question can span chapters
Question to hypothesisone to manyA hypothesis serves exactly one question
Hypothesis to projectmany to manyA project may test several
Project to experimentone to manyAn experiment belongs to one project
Experiment to datasetmany to manyDatasets are shared
Experiment to resultone to many
Result to figureone to many
Publication to anythingmany to manyA paper draws on whatever it draws on

Direction

Links are recorded downward in registry/relationships.yaml: a project lists its experiments, not the other way round. Upward links on pages are convenience, derived from the same source.

Recording both directions by hand is how they come to disagree, and when they disagree there is no way to tell which one is right.

Literature is special

Literature informs entities but is never part of the evidence chain. A claim supported only by a citation is a claim inherited from someone else’s work, and must be labelled as such rather than presented as a result of this research.

Validation

pnpm validate checks that every identifier mentioned in a relationship exists, that hypotheses have exactly one parent question, and that no relationship points at an entity of the wrong type.

Last updated on