what recipe requires at most 5.0 to make and uses 0.25 of the ingredient?
Entity Entity Entity Entity Entity Entity
m.083pzzb m.0_hgn6k m.0h1q64y m.0cc0x8c m.0_hgprp m.0cpmh3n
Foie Gras Pasta Cosmopolitan recipe Roux Crêpes Appletini recipe Fettuccine Alfredo
class class literal literal
food.recipe food.recipe_ingredient 0.25^^http://www.w3.org/2001/XMLSchema#float 5.0^^http://www.w3.org/2001/XMLSchema#float
food.recipe food.recipe_ingredient type.float type.float
Recipe Recipe ingredient 0.25 5.0
none none none <=
food.recipe_ingredient.recipe food.recipe_ingredient.quantity food.recipe.preparation_time
Recipe Quantity Preparation time
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :food.recipe . 
?x1 :type.object.type :food.recipe_ingredient . 
VALUES ?x2 { "0.25"^^<http://www.w3.org/2001/XMLSchema#float> } 
FILTER (?x3 <= "5.0"^^<http://www.w3.org/2001/XMLSchema#float>)
?x1 :food.recipe_ingredient.recipe ?x0 . 
?x1 :food.recipe_ingredient.quantity ?x2 . 
?x0 :food.recipe.preparation_time ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND food.recipe (AND (JOIN (R food.recipe_ingredient.recipe) (JOIN food.recipe_ingredient.quantity 0.25^^http://www.w3.org/2001/XMLSchema#float)) (le food.recipe.preparation_time 5.0^^http://www.w3.org/2001/XMLSchema#float)))