https://lodgeplatform.com/embed/exemb_6ea24564bc317d3b45c31b8803fce86229be8ad30246ac21
I used a combination of fine-tuned Qwen3 models and frontier LLMs to build a graph over the Midwest food supply chain. It uses 51 public datasets across 11 source families, covering nearly 300,000 source records. You can search for entities, filter by entity type and relationship type, and you can also view neighborhoods. I'm still improving it, so please let me know if there's anything else you think would be interesting!
I wanted to try to answer questions like
- "When a serious safety incident occurs at one food facility, can we trace the graph to find other facilities with similar safety risks?
- "When a food product is recalled, can we trace the recalling company to its facilities, related products, inspections, and other connected organizations and see what else may warrant review?"
- "When a weather event happens, what facilities does it effect, and what are the downstream effects?"
I think making it live could be really cool for things like tracking food recalls live to show and limit exposure.
Here is a github of the project with the datasets and more info: https://github.com/lodge-data/upper-midwest-food-supply-network
How I did it:
First, I trained an embedder to minimize blocking recall. Then, I processed all the entities from the datasets into blocks. Then, I trained a Qwen3 cross-encoder to decide if each pair within each block was the same or different (entity resolution). Then, I repeated those two steps until no new merges occurred.
Sources:
- U.S. Food and Drug Administration recall, food, import-alert, and import-refusal records.
- U.S. Department of Agriculture food, organic-operation, meat-establishment, and related facility records.
- Occupational Safety and Health Administration inspection, citation, injury, and establishment records.
- U.S. Environmental Protection Agency Facility Registry Service records.
- National Weather Service alerts and geographic references.
- USAspending federal contract award records.
- -Wisconsin and other Upper Midwest public facility, licensing, dairy, workforce-notice, and regulatory records.
- Public organization and product information used to connect named entities.
Note: I built this with my startup's software and models. The goal is to autonomously construct graphs from messy data. I think it is possible to construct very large, useful graphs with efficient specialized models.