which recipe has a cooking time of 40.0?
Entity
m.07f0c_k
Baked Risotto with Asparagus, Spinach, and Sausage
class literal
food.recipe 40.0^^http://www.w3.org/2001/XMLSchema#float
food.recipe type.float
Recipe 40.0
none none
food.recipe.cooking_time
Cooking 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 . 
VALUES ?x1 { "40.0"^^<http://www.w3.org/2001/XMLSchema#float> } 
?x0 :food.recipe.cooking_time ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.recipe (JOIN food.recipe.cooking_time 40.0^^http://www.w3.org/2001/XMLSchema#float))