Recipe Ontology
Models cooking recipe documents, with a title, metadata, ingredient list, method steps and optional advice. Used to generate new recipes of varying cuisine, diet, difficulty and structure from a prompt.
culinary · 30 concepts · 36 relationships · by @ssergienko · CC BY 4.0
Classes (7)
- Recipe
- The whole document describing how to prepare one dish.
- e.g. Weeknight Lentil Stew · Classic Buttermilk Pancakes
- Metadata Block
- Compact header lines with classification and logistics.
- e.g. Cuisine: Thai | Course: Main | Diet: vegan · Yield: 8 scones · Skill level: easy
- Ingredient List
- Section listing all ingredients with quantities.
- e.g. Ingredients · Batter
- Ingredient Item
- A single ingredient line.
- e.g. 2 tbsp olive oil · 1 large onion, finely chopped · 1 tbsp sugar (optional)
- Method / Steps
- Ordered instructions for preparing the dish.
- e.g. Method · Steps
- Step
- One instruction unit.
- e.g. Fry the onion for 8 minutes until soft. · Rest 30 minutes.
- Tips & Notes
- Short closing advice lines.
- e.g. Tips: swap spinach for kale · Make ahead: refrigerate up to 2 days
Dimensions (5)
- Cuisine
- Culinary tradition or regional style.
- e.g. Italian · Mexican-inspired · French
- Course / Category
- Meal slot or dish type.
- e.g. Main · Breakfast / Dessert · Side
- Difficulty / Skill Level
- Expected cooking skill.
- e.g. easy · intermediate · advanced
- Cooking Technique
- Core cooking methods used.
- e.g. simmer · fry · whisk and rest
- Structural Layout Variant
- How sections are labelled and grouped.
- e.g. bulleted ingredients with numbered method · grouped Batter with prose Steps
Properties (14)
- Title
- Name of the dish, often with a style qualifier.
- e.g. Easy Mushroom Risotto · Traditional Welsh Rarebit
- Dietary Tags
- Dietary suitability labels.
- e.g. vegan · gluten-free · dairy-free
- Timing
- Prep, cook, active, resting and total times.
- e.g. Prep 10 min | Cook 25 min | Total 35 min · Active 30 min, Resting 30 min
- Yield / Servings
- Quantity produced or number served.
- e.g. Serves 4 · 12 crêpes (20 cm)
- Nutrition per Serving
- Calories and macronutrients per serving.
- e.g. 410 kcal, 14 g protein, 18 g fat, 48 g carbs · 320 kcal, 9 g protein
- Allergens
- Declared allergens in the dish.
- e.g. egg, milk, gluten · none of the top 14
- Quantity & Unit
- Amount and measure of an ingredient.
- e.g. 400 ml · 2 tbsp · 1 pinch
- Preparation Note
- Modifier on an ingredient describing its state.
- e.g. finely chopped · melted · drained
- Doneness Cue
- Sensory or time indicator for completion.
- e.g. until fragrant · until soft · smooth paste
- Equipment
- Tools or cookware needed.
- e.g. large saucepan · crêpe pan
- Substitutions
- Alternative ingredients and their effect.
- e.g. oat milk works · gluten-free flour gives thicker crêpes
- Storage & Make-Ahead
- Keeping, freezing and advance preparation guidance.
- e.g. Keeps 3 days in the fridge; freezes well · stack with baking paper
- Serving / Fillings / Variations
- Accompaniments, toppings or variants.
- e.g. To serve: basmati rice, coriander · Fillings: lemon and sugar; ham and cheese
- Rating
- Aggregate user rating.
- e.g. ★★★★☆ (312 ratings)
Constraints (4)
- Ingredient–Step Consistency
- Every ingredient is used in the steps, and steps use only listed ingredients.
- e.g. Garlic listed and added in step 2
- Diet & Allergen Consistency
- Diet tags and allergen declarations must match the ingredients.
- e.g. Vegan tag with coconut milk · Allergens: egg, milk for crêpes
- Time Coherence
- Total time equals prep plus cook, and step durations fit within it.
- e.g. 10 + 25 = 35 min
- Concise Compact Style
- Terse, imperative, information-dense prose with minimal narrative.
- e.g. Cook 1 minute until fragrant.