Why it works: Sage and ham work together. They rank in the top 21% of all ingredient pairs, and 136 recipes mention both. Both carry 1-octen-3-ol, which smells mushroom, earthy. The science ↓
The recipe
Serves 4Ingredients
Contains: milk (auto-detected from the ingredients and method; we can miss things, so check labels)
Directions
Method written by CompKitchen from the ingredient list. Not the original author's method, not kitchen-tested.
Heat the oven to 375°F (190°C). Rub a 9x13-inch baking dish with a little of the butter.
Scrub the potatoes and slice them thinly, about 1/8 inch (3 mm) thick. Keep the slices covered until needed.
Heat the olive oil in a skillet over medium heat. Cook the chopped onions for 5 minutes, then add the garlic and sage and cook 1 minute more. Remove from heat.
Stir the salt and pepper into the half-and-half.
Layer half the potato slices in the dish, overlapping them. Scatter half the onion mixture, half the ham strips, half the Swiss and half the cheddar over the top.
Repeat with the remaining potatoes, onion mixture, ham, Swiss and cheddar, keeping the top layer as even as possible.
Pour the seasoned half-and-half evenly over the layers and dot the top with the butter cubes.
Cover the dish tightly with foil and bake for 40 minutes.
Uncover and bake 20 more minutes, until the potatoes are tender when pierced with a knife, the ham is heated through and the top is golden.
Let stand 10 minutes, then sprinkle with the chopped parsley and serve.
Found this recipe through an AI assistant? CompKitchen also shows which ingredients go well together and why, from the aroma molecules they share and how often recipes combine them. Try the pairing tools.
Explore the science
The flavor team
The pairs that carry this dish. Each one is judged two ways: how much aroma chemistry they share, and how many recipes mention both.
-
Sage + hamtop 21% of all pairsAroma overlaplowMentioned together136 recipes
Shared aroma: 1-octen-3-ol (mushroom, earthy).
-
Onion + garlictop 1% of all pairsAroma overlapstrongMentioned together29,030 recipes
Shared aroma: furaneol (caramel, strawberry).
-
Pepper + sagetop 2% of all pairsAroma overlapstrongMentioned together5,388 recipes
Shared aroma: beta-phellandrene (minty, terpene).
-
Potato + oniontop 2% of all pairsAroma overlapstrongMentioned together9,019 recipes
Shared aroma: 2-isopropyl-3-methoxypyrazine (earthy, pea).
-
Olive + garlictop 3% of all pairsAroma overlapmoderateMentioned together23,449 recipes
Shared aroma: linalool (floral, citrus).
Ranks compare each pair with 20,000 random ingredient pairs on CompKitchen. How we score pairs
Flavor stand-ins for the onion
How well each one fits the dish's main ingredients (potato, olive, pepper, sage, garlic, ham, swiss cheese):
- Tomatobetter flavor fit
- Capsicumabout as good a flavor fit
- Onionthe original
- Spinachabout as good a flavor fit
Fit is the average pairing score against potato, olive, pepper, sage, garlic, ham, swiss cheese. Candidates are from the same food group and used in at least 100 recipes. This compares flavor only: it does not check the job the ingredient does in the dish (bulk, moisture, acidity, structure).
Make it your own
Stand-ins, a drink, and quick taste fixes for this dish, ranked by how well each fits its other ingredients: shared aroma molecules and how often recipes combine them.
The Sunday pairing: one pairing, the chemistry behind it, and how to cook it. No spam, unsubscribe anytime.
Prefer an account? Create a free account for sign-in; Pro adds the full results and chemistry.