diff --git a/data/data.surrealql b/data/data.surrealql index e73651e..25d4b03 100644 --- a/data/data.surrealql +++ b/data/data.surrealql @@ -189,239 +189,371 @@ CREATE Ingredient:1001 CONTENT { unit: 'Stück', net_price: 0.89, stock: 100, - supplier_id: 101, calories: 19, carbohydrates: 2, protein: 1.6 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 5.0, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1001' +}; + CREATE Ingredient:1002 CONTENT { designation: 'Zwiebel', unit: 'Stück', net_price: 0.15, stock: 50, - supplier_id: 101, calories: 28, carbohydrates: 4.9, protein: 1.20 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 4.0, + delivery_time: 2, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1002' +}; + CREATE Ingredient:1003 CONTENT { designation: 'Tomate', unit: 'Stück', net_price: 0.45, stock: 50, - supplier_id: 101, calories: 18, carbohydrates: 2.6, protein: 1 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 6.0, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1003' +}; + CREATE Ingredient:1004 CONTENT { designation: 'Schalotte', unit: 'Stück', net_price: 0.20, stock: 500, - supplier_id: 101, calories: 25, carbohydrates: 3.3, protein: 1.5 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 3.5, + delivery_time: 2, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1004' +}; + CREATE Ingredient:1005 CONTENT { designation: 'Karotte', unit: 'Stück', net_price: 0.30, stock: 500, - supplier_id: 101, calories: 41, carbohydrates: 10, protein: 0.9 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 4.0, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1005' +}; + CREATE Ingredient:1006 CONTENT { designation: 'Kartoffel', unit: 'Stück', net_price: 0.15, stock: 1500, - supplier_id: 101, calories: 71, carbohydrates: 14.6, protein: 2 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 3.0, + delivery_time: 2, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1006' +}; + CREATE Ingredient:1007 CONTENT { designation: 'Rucola', unit: 'Bund', net_price: 0.90, stock: 10, - supplier_id: 101, calories: 27, carbohydrates: 2.1, protein: 2.6 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 5.0, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1007' +}; + CREATE Ingredient:1008 CONTENT { designation: 'Lauch', unit: 'Stück', net_price: 1.2, stock: 35, - supplier_id: 101, calories: 29, carbohydrates: 3.3, protein: 2.1 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 4.5, + delivery_time: 2, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1008' +}; + CREATE Ingredient:1009 CONTENT { designation: 'Knoblauch', unit: 'Stück', net_price: 0.25, stock: 250, - supplier_id: 101, calories: 141, carbohydrates: 28.4, protein: 6.1 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 3.5, + delivery_time: 2, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1009' +}; + CREATE Ingredient:1010 CONTENT { designation: 'Basilikum', unit: 'Bund', net_price: 1.3, stock: 10, - supplier_id: 101, calories: 41, carbohydrates: 5.1, protein: 3.1 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 5.5, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1010' +}; + CREATE Ingredient:1011 CONTENT { designation: 'Süßkartoffel', unit: 'Stück', net_price: 2.0, stock: 200, - supplier_id: 101, calories: 86, carbohydrates: 20, protein: 1.6 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 6.0, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1011' +}; + CREATE Ingredient:1012 CONTENT { designation: 'Schnittlauch', unit: 'Bund', net_price: 0.9, stock: 10, - supplier_id: 101, calories: 28, carbohydrates: 1, protein: 3 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 5.0, + delivery_time: 3, + supplier: 'Supplier:101', + ingredient: 'Ingredient:1012' +}; + CREATE Ingredient:2001 CONTENT { designation: 'Apfel', unit: 'Stück', net_price: 1.2, stock: 750, - supplier_id: 102, calories: 54, carbohydrates: 14.4, protein: 0.3 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 7.0, + delivery_time: 4, + supplier: 'Supplier:102', + ingredient: 'Ingredient:2001' +}; + CREATE Ingredient:3001 CONTENT { designation: 'Vollmilch. 3.5%', unit: 'Liter', net_price: 1.5, stock: 50, - supplier_id: 103, calories: 65, carbohydrates: 4.7, protein: 3.4 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 5.0, + delivery_time: 3, + supplier: 'Supplier:103', + ingredient: 'Ingredient:3001' +}; + CREATE Ingredient:3002 CONTENT { designation: 'Mozzarella', unit: 'Packung', net_price: 3.5, stock: 20, - supplier_id: 103, calories: 241, carbohydrates: 1, protein: 18.1 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 6.5, + delivery_time: 4, + supplier: 'Supplier:103', + ingredient: 'Ingredient:3002' +}; + CREATE Ingredient:3003 CONTENT { designation: 'Butter', unit: 'Stück', net_price: 3.0, stock: 50, - supplier_id: 103, calories: 741, carbohydrates: 0.6, protein: 0.7 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 7.0, + delivery_time: 4, + supplier: 'Supplier:103', + ingredient: 'Ingredient:3003' +}; + CREATE Ingredient:4001 CONTENT { designation: 'Ei', unit: 'Stück', net_price: 0.4, stock: 300, - supplier_id: 102, calories: 137, carbohydrates: 1.5, protein: 11.9 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 4.5, + delivery_time: 3, + supplier: 'Supplier:102', + ingredient: 'Ingredient:4001' +}; + CREATE Ingredient:5001 CONTENT { designation: 'Wiener Würstchen', unit: 'Paar', net_price: 1.8, stock: 40, - supplier_id: 101, calories: 331, carbohydrates: 1.2, protein: 9.9 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 6.0, + delivery_time: 4, + supplier: 'Supplier:101', + ingredient: 'Ingredient:5001' +}; + CREATE Ingredient:9001 CONTENT { designation: 'Tofu-Würstchen', unit: 'Stück', net_price: 1.8, stock: 20, - supplier_id: 103, calories: 252, carbohydrates: 7, protein: 17 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 7.5, + delivery_time: 4, + supplier: 'Supplier:103', + ingredient: 'Ingredient:9001' +}; + CREATE Ingredient:6408 CONTENT { designation: 'Couscous', unit: 'Packung', net_price: 1.9, stock: 15, - supplier_id: 102, calories: 351, carbohydrates: 67, protein: 12 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 5.0, + delivery_time: 3, + supplier: 'Supplier:102', + ingredient: 'Ingredient:6408' +}; + CREATE Ingredient:7043 CONTENT { designation: 'Gemüsebrühe', unit: 'Würfel', net_price: 0.2, stock: 4000, - supplier_id: 101, calories: 1, carbohydrates: 0.5, protein: 0.5 }; +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 3.0, + delivery_time: 2, + supplier: 'Supplier:101', + ingredient: 'Ingredient:7043' +}; + CREATE Ingredient:6300 CONTENT { designation: 'Kichererbsen', unit: 'Dose', net_price: 1.0, stock: 400, - supplier_id: 103, calories: 150, carbohydrates: 21.2, protein: 9 }; + +CREATE SupplierContainsIngredients CONTENT { + delivery_cost: 4.0, + delivery_time: 3, + supplier: 'Supplier:103', + ingredient: 'Ingredient:6300' +};