First-Class Relationships as a Representation Threshold: Identity, Time, Confidence, and Causation
Matthew Alford
原文摘要
Operational records -- who may access what, what changed, what caused an incident -- consist of relationships that involve several parties, hold for a period, are believed with some confidence, and cause one another. We ask what a representation must provide to store such records directly. We state four storage requirements: n-ary relationships with attributes, temporal validity, confidence with an evidential basis, and causal links between relationships. Under our definitions, each requires relationships to have identity: every relationship is stored, fetched and queried as an object with its own key. Confidence with an evidential basis and causal links also require composition: any relationship can take part in another. With n-ary relationships, either one therefore requires first-class relationships, which are identified, carry attributes, and compose at every arity. Conversely, first-class relationships suffice for all four. They are thus a threshold, and it belongs to the relationship construct, not to the data model around it: where a model's own construct falls short, every representation meeting n-ary relationships together with evidence-backed confidence or causal links builds a first-class construct from other parts, as our SQL implementation does. We place SQL, property graphs, RDF 1.2 and TypeDB relative to the threshold, and present the Attributed Temporal Causal Hypergraph (ATCH), which meets all four requirements with query operators for each.
cs.DB · cs.AI