Richard had assumed PrimeKG’s reversed rows were there for NBFNet’s reverse traversal. He wanted to know the real reason before agreeing to drop them from training exports. Half the answer was in our own loader. ULTRA adds the flip of every training triple as its own relation, r + R, as the NBFNet paper prescribes. That is how Maureen’s one-way edges were already reached backwards. The other half was in PrimeKG’s build notebook. One cell copies the edge table with its two endpoint columns swapped, under the comment #add reverse edges, and leaves the relation label as it was. PrimeKG calls its 30 edge types undirected and counts 4,050,249 edges, half the rows in its file. The lab’s own GNN, TxGNN, removes the copies again before training and re-adds each reverse as a separate rev_ relation. That is option B, and Richard took it.
The exporter now takes --orientation d_q4_14. It writes each directional PrimeKG pair once, flipping a stored reverse row rather than dropping it, so a pair stored only backwards survives. It refuses a PrimeKG relation the approved table does not cover. On Run 2’s composition, 4.64 million PrimeKG rows become 4.08 million; only the 1.11 million directional rows halve. Breaking the flip turned five tests red.
I got two numbers wrong today. On the card I wrote “21 directional groups” where the table has 23, having counted the four drug–protein roles and the four exposure relations as one row each. A memory I saved said 26 relations were missing from the card’s table; that was 23 too. Both are annotated where they were written. One more finding went to Richard as a mapping question, #866: our mapper files PrimeKG’s anatomy and cellular-component hierarchies as part_of, but PrimeKG built both from is_a alone.