fix data reference

This commit is contained in:
Johannes Jöns 2024-02-08 22:48:00 +01:00
parent ec9acacaa2
commit 1c474b8301

View file

@ -4,7 +4,7 @@ CREATE Customer:2001 CONTENT {
birth_date: '1990-05-05',
phone: '040/443322',
email: 'k.wellensteyn@yahoo.de',
address: 'Address:2001'
address: Address:2001
};
CREATE Address:2001 CONTENT {
@ -20,7 +20,7 @@ CREATE Customer:2002 CONTENT {
birth_date: '2000-03-24',
phone: '040/543822',
email: 'd.foede@web.de',
address: 'Address:2002'
address: Address:2002
};
CREATE Address:2002 CONTENT {
@ -36,7 +36,7 @@ CREATE Customer:2003 CONTENT {
birth_date: '1989-09-21',
phone: '0175/1234588',
email: 'sigrid@leberer.de',
address: 'Address:2003'
address: Address:2003
};
CREATE Address:2003 CONTENT {
@ -52,7 +52,7 @@ CREATE Customer:2004 CONTENT {
birth_date: '1974-04-03',
phone: '040/634578',
email: 'h.soerensen@yahoo.de',
address: 'Address:2004'
address: Address:2004
};
CREATE Address:2004 CONTENT {
@ -68,7 +68,7 @@ CREATE Customer:2005 CONTENT {
birth_date: '1964-04-17',
phone: '0176/447587',
email: 'schni_mart@gmail.com',
address: 'Address:2005'
address: Address:2005
};
CREATE Address:2005 CONTENT {
@ -84,7 +84,7 @@ CREATE Customer:2006 CONTENT {
birth_date: '1978-09-09',
phone: '040/332189',
email: 'belinda1978@yahoo.de',
address: 'Address:2006'
address: Address:2006
};
CREATE Address:2006 CONTENT {
@ -100,7 +100,7 @@ CREATE Customer:2007 CONTENT {
birth_date: '1978-01-29',
phone: '040/67890',
email: 'armin@gessert.de',
address: 'Address:2007'
address: Address:2007
};
CREATE Address:2007 CONTENT {
@ -116,7 +116,7 @@ CREATE Customer:2008 CONTENT {
birth_date: '1982-08-30',
phone: '0178-67013390',
email: 'jm@haessig.de',
address: 'Address:2008'
address: Address:2008
};
CREATE Address:2008 CONTENT {
@ -132,7 +132,7 @@ CREATE Customer:2009 CONTENT {
birth_date: '1999-12-04',
phone: '0152-96701390',
email: 'urocki@outlook.de',
address: 'Address:2009'
address: Address:2009
};
CREATE Address:2009 CONTENT {
@ -146,7 +146,7 @@ CREATE Supplier:101 CONTENT {
name: 'Bio-Hof Müller',
phone: '04354-9080',
email: 'mueller@biohof.de',
address: 'Address:101'
address: Address:101
};
CREATE Address:101 CONTENT {
@ -160,7 +160,7 @@ CREATE Supplier:102 CONTENT {
name: 'Obst-Hof Altes Land',
phone: '04162-4523',
email: 'info@biohof-altesland.de',
address: 'Address:102'
address: Address:102
};
CREATE Address:102 CONTENT {
@ -174,7 +174,7 @@ CREATE Supplier:103 CONTENT {
name: 'Molkerei Henning',
phone: '038873-8976',
email: 'info@molkerei-henning.de',
address: 'Address:103'
address: Address:103
};
CREATE Address:103 CONTENT {
@ -197,8 +197,8 @@ CREATE Ingredient:1001 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 5.0,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1001'
supplier: Supplier:101,
ingredient: Ingredient:1001
};
CREATE Ingredient:1002 CONTENT {
@ -214,8 +214,8 @@ CREATE Ingredient:1002 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 4.0,
delivery_time: 2,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1002'
supplier: Supplier:101,
ingredient: Ingredient:1002
};
CREATE Ingredient:1003 CONTENT {
@ -231,8 +231,8 @@ CREATE Ingredient:1003 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 6.0,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1003'
supplier: Supplier:101,
ingredient: Ingredient:1003
};
CREATE Ingredient:1004 CONTENT {
@ -248,8 +248,8 @@ CREATE Ingredient:1004 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 3.5,
delivery_time: 2,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1004'
supplier: Supplier:101,
ingredient: Ingredient:1004
};
CREATE Ingredient:1005 CONTENT {
@ -265,8 +265,8 @@ CREATE Ingredient:1005 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 4.0,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1005'
supplier: Supplier:101,
ingredient: Ingredient:1005
};
CREATE Ingredient:1006 CONTENT {
@ -282,8 +282,8 @@ CREATE Ingredient:1006 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 3.0,
delivery_time: 2,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1006'
supplier: Supplier:101,
ingredient: Ingredient:1006
};
CREATE Ingredient:1007 CONTENT {
@ -299,8 +299,8 @@ CREATE Ingredient:1007 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 5.0,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1007'
supplier: Supplier:101,
ingredient: Ingredient:1007
};
CREATE Ingredient:1008 CONTENT {
@ -316,8 +316,8 @@ CREATE Ingredient:1008 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 4.5,
delivery_time: 2,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1008'
supplier: Supplier:101,
ingredient: Ingredient:1008
};
CREATE Ingredient:1009 CONTENT {
@ -333,8 +333,8 @@ CREATE Ingredient:1009 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 3.5,
delivery_time: 2,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1009'
supplier: Supplier:101,
ingredient: Ingredient:1009
};
CREATE Ingredient:1010 CONTENT {
@ -350,8 +350,8 @@ CREATE Ingredient:1010 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 5.5,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1010'
supplier: Supplier:101,
ingredient: Ingredient:1010
};
CREATE Ingredient:1011 CONTENT {
@ -367,8 +367,8 @@ CREATE Ingredient:1011 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 6.0,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1011'
supplier: Supplier:101,
ingredient: Ingredient:1011
};
CREATE Ingredient:1012 CONTENT {
@ -384,8 +384,8 @@ CREATE Ingredient:1012 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 5.0,
delivery_time: 3,
supplier: 'Supplier:101',
ingredient: 'Ingredient:1012'
supplier: Supplier:101,
ingredient: Ingredient:1012
};
CREATE Ingredient:2001 CONTENT {
@ -401,8 +401,8 @@ CREATE Ingredient:2001 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 7.0,
delivery_time: 4,
supplier: 'Supplier:102',
ingredient: 'Ingredient:2001'
supplier: Supplier:102,
ingredient: Ingredient:2001
};
CREATE Ingredient:3001 CONTENT {
@ -418,8 +418,8 @@ CREATE Ingredient:3001 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 5.0,
delivery_time: 3,
supplier: 'Supplier:103',
ingredient: 'Ingredient:3001'
supplier: Supplier:103,
ingredient: Ingredient:3001
};
CREATE Ingredient:3002 CONTENT {
@ -435,8 +435,8 @@ CREATE Ingredient:3002 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 6.5,
delivery_time: 4,
supplier: 'Supplier:103',
ingredient: 'Ingredient:3002'
supplier: Supplier:103,
ingredient: Ingredient:3002
};
CREATE Ingredient:3003 CONTENT {
@ -452,8 +452,8 @@ CREATE Ingredient:3003 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 7.0,
delivery_time: 4,
supplier: 'Supplier:103',
ingredient: 'Ingredient:3003'
supplier: Supplier:103,
ingredient: Ingredient:3003
};
CREATE Ingredient:4001 CONTENT {
@ -469,8 +469,8 @@ CREATE Ingredient:4001 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 4.5,
delivery_time: 3,
supplier: 'Supplier:102',
ingredient: 'Ingredient:4001'
supplier: Supplier:102,
ingredient: Ingredient:4001
};
CREATE Ingredient:5001 CONTENT {
@ -486,8 +486,8 @@ CREATE Ingredient:5001 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 6.0,
delivery_time: 4,
supplier: 'Supplier:101',
ingredient: 'Ingredient:5001'
supplier: Supplier:101,
ingredient: Ingredient:5001
};
CREATE Ingredient:9001 CONTENT {
@ -503,8 +503,8 @@ CREATE Ingredient:9001 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 7.5,
delivery_time: 4,
supplier: 'Supplier:103',
ingredient: 'Ingredient:9001'
supplier: Supplier:103,
ingredient: Ingredient:9001
};
CREATE Ingredient:6408 CONTENT {
@ -520,8 +520,8 @@ CREATE Ingredient:6408 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 5.0,
delivery_time: 3,
supplier: 'Supplier:102',
ingredient: 'Ingredient:6408'
supplier: Supplier:102,
ingredient: Ingredient:6408
};
CREATE Ingredient:7043 CONTENT {
@ -537,8 +537,8 @@ CREATE Ingredient:7043 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 3.0,
delivery_time: 2,
supplier: 'Supplier:101',
ingredient: 'Ingredient:7043'
supplier: Supplier:101,
ingredient: Ingredient:7043
};
CREATE Ingredient:6300 CONTENT {
@ -554,68 +554,68 @@ CREATE Ingredient:6300 CONTENT {
CREATE SupplierContainsIngredients CONTENT {
delivery_cost: 4.0,
delivery_time: 3,
supplier: 'Supplier:103',
ingredient: 'Ingredient:6300'
supplier: Supplier:103,
ingredient: Ingredient:6300
};
CREATE Order:3001 CONTENT {
invoice_amount: 25.50,
order_date: '2024-02-08T10:00:00',
customer: 'Customer:2001',
order_date: 2024-02-08T10:00:00,
customer: Customer:2001,
};
CREATE Order:3002 CONTENT {
invoice_amount: 35.80,
order_date: '2024-02-08T11:30:00',
customer: 'Customer:2002',
order_date: 2024-02-08T11:30:00,
customer: Customer:2002,
};
CREATE Order:3003 CONTENT {
invoice_amount: 42.60,
order_date: '2024-02-08T13:15:00',
customer: 'Customer:2003',
order_date: 2024-02-08T13:15:00,
customer: Customer:2003,
};
CREATE Order:3004 CONTENT {
invoice_amount: 18.90,
order_date: '2024-02-08T14:45:00',
customer: 'Customer:2004',
order_date: 2024-02-08T14:45:00,
customer: Customer:2004,
};
CREATE Order:3005 CONTENT {
invoice_amount: 50.25,
order_date: '2024-02-08T16:20:00',
customer: 'Customer:2005',
order_date: 2024-02-08T16:20:00,
customer: Customer:2005,
};
CREATE OrderContainsIngredients CONTENT {
quantity: 2,
order: 'Order:3001',
ingredient: 'Ingredient:1001',
order: Order:3001,
ingredient: Ingredient:1001,
};
CREATE OrderContainsIngredients CONTENT {
quantity: 3,
order: 'Order:3001',
ingredient: 'Ingredient:1002',
order: Order:3001,
ingredient: Ingredient:1002,
};
CREATE OrderContainsIngredients CONTENT {
quantity: 1,
order: 'Order:3002',
ingredient: 'Ingredient:1003',
order: Order:3002,
ingredient: Ingredient:1003,
};
CREATE OrderContainsIngredients CONTENT {
quantity: 4,
order: 'Order:3002',
ingredient: 'Ingredient:1004',
order: Order:3002,
ingredient: Ingredient:1004,
};
CREATE OrderContainsIngredients CONTENT {
quantity: 2,
order: 'Order:3003',
ingredient: 'Ingredient:1005',
order: Order:3003,
ingredient: Ingredient:1005,
};
CREATE Recipe:4001 CONTENT {
@ -636,79 +636,169 @@ CREATE Recipe:4003 CONTENT {
preparation_time: 40,
name: 'Roasted Vegetable Medley',
description: 'A colorful and nutritious medley of roasted vegetables, perfect as a side dish or main course.',
instructions: '1. Preheat the oven to 400°F (200°C). 2. Chop assorted vegetables such as carrots, bell peppers, and onions into bite-sized pieces. 3. Toss the vegetables with olive oil, minced garlic, and your favorite herbs. 4. Spread the vegetables on a baking sheet in a single layer. 5. Roast in the oven for 25-30 minutes until tender and slightly caramelized. 6. Serve hot as a side dish or with crusty bread for a satisfying meal.',
instructions: '1. Preheat the oven to 400°F (200°C). 2. Chop assorted vegetables such as carrots, bell peppers, and onions into bite-sized pieces. 3. Toss the vegetables with olive oil, minced garlic, and your favorite herbs. 4. Spread the vegetables on a baking sheet in a single layer. 5. Roast in the oven for 25-30 minutes or until tender and caramelized. 6. Serve hot and enjoy!',
};
CREATE Recipe:4004 CONTENT {
preparation_time: 60,
name: 'Mozzarella Caprese',
description: 'A classic Italian appetizer featuring fresh tomatoes, creamy mozzarella, and fragrant basil.',
instructions: '1. Slice ripe tomatoes and fresh mozzarella cheese into thin rounds. 2. Arrange alternating slices of tomatoes and mozzarella on a serving platter. 3. Tuck fresh basil leaves between the slices. 4. Drizzle extra virgin olive oil over the top and sprinkle with salt and pepper. 5. Serve immediately as a light and refreshing appetizer.',
preparation_time: 20,
name: 'Caprese Skewers',
description: 'A simple and elegant appetizer featuring fresh mozzarella, cherry tomatoes, and basil leaves.',
instructions: '1. Thread cherry tomatoes, fresh mozzarella balls, and basil leaves onto skewers. 2. Drizzle with balsamic glaze and olive oil. 3. Season with salt and pepper to taste. 4. Serve immediately and enjoy!',
};
CREATE Recipe:4005 CONTENT {
preparation_time: 45,
name: 'Creamy Potato Leek Soup',
description: 'A comforting and creamy soup made with tender potatoes and flavorful leeks.',
instructions: '1. Heat butter in a large pot over medium heat. 2. Add chopped leeks and cook until softened. 3. Stir in diced potatoes and vegetable broth. 4. Bring to a boil, then reduce heat and simmer until potatoes are tender. 5. Use an immersion blender to puree the soup until smooth. 6. Stir in heavy cream and season with salt and pepper. 7. Serve hot, garnished with fresh chives if desired.',
preparation_time: 60,
name: 'Vegetarian Paella',
description: 'A hearty and flavorful vegetarian version of the classic Spanish rice dish, loaded with vegetables and fragrant spices.',
instructions: '1. Heat olive oil in a large paella pan over medium heat. 2. Add chopped onions, bell peppers, and garlic, and sauté until softened. 3. Stir in Arborio rice and cook for 2-3 minutes. 4. Add vegetable broth, saffron, diced tomatoes, and a pinch of salt. 5. Bring to a simmer and cook for 20-25 minutes, stirring occasionally. 6. Add cooked vegetables such as peas, artichoke hearts, and roasted red peppers. 7. Cook for an additional 5-10 minutes until the rice is tender and the vegetables are heated through. 8. Garnish with chopped parsley and lemon wedges before serving.',
};
CREATE RecipeContainsIngredients CONTENT {
amount: 2,
recipe: 'Recipe:4001',
ingredient: 'Ingredient:1001',
quantity: 3,
recipe: Recipe:4001,
ingredient: Ingredient:1001,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 1,
recipe: 'Recipe:4001',
ingredient: 'Ingredient:1002',
quantity: 2,
recipe: Recipe:4001,
ingredient: Ingredient:1002,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 3,
recipe: 'Recipe:4002',
ingredient: 'Ingredient:1003',
quantity: 1,
recipe: Recipe:4001,
ingredient: Ingredient:1003,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 2,
recipe: 'Recipe:4002',
ingredient: 'Ingredient:1004',
quantity: 1,
recipe: Recipe:4001,
ingredient: Ingredient:1004,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 2,
recipe: 'Recipe:4003',
ingredient: 'Ingredient:1005',
quantity: 1,
recipe: Recipe:4001,
ingredient: Ingredient:1005,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 3,
recipe: 'Recipe:4003',
ingredient: 'Ingredient:1006',
quantity: 1,
recipe: Recipe:4002,
ingredient: Ingredient:1003,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 4,
recipe: 'Recipe:4004',
ingredient: 'Ingredient:1007',
quantity: 2,
recipe: Recipe:4002,
ingredient: Ingredient:1004,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 1,
recipe: 'Recipe:4004',
ingredient: 'Ingredient:1008',
quantity: 1,
recipe: Recipe:4002,
ingredient: Ingredient:1005,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 2,
recipe: 'Recipe:4005',
ingredient: 'Ingredient:1009',
quantity: 1,
recipe: Recipe:4003,
ingredient: Ingredient:1002,
};
CREATE RecipeContainsIngredients CONTENT {
amount: 1,
recipe: 'Recipe:4005',
ingredient: 'Ingredient:1010',
quantity: 2,
recipe: Recipe:4003,
ingredient: Ingredient:1004,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 2,
recipe: Recipe:4003,
ingredient: Ingredient:1005,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4003,
ingredient: Ingredient:1006,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4003,
ingredient: Ingredient:1007,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4003,
ingredient: Ingredient:1008,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4003,
ingredient: Ingredient:1009,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4004,
ingredient: Ingredient:1003,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 2,
recipe: Recipe:4004,
ingredient: Ingredient:1007,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4004,
ingredient: Ingredient:1010,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4005,
ingredient: Ingredient:1005,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4005,
ingredient: Ingredient:1006,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4005,
ingredient: Ingredient:1007,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 2,
recipe: Recipe:4005,
ingredient: Ingredient:1008,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4005,
ingredient: Ingredient:1009,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4005,
ingredient: Ingredient:1011,
};
CREATE RecipeContainsIngredients CONTENT {
quantity: 1,
recipe: Recipe:4005,
ingredient: Ingredient:1012,
};