yellow tea has which tea varieties?
Entity Entity
m.06w4qt m.06x9lr
Junshan Yinzhen Huoshan Huangya tea
class entity
food.tea m.058vrl
food.tea food.tea_type
Tea Yellow tea
none none
food.tea.tea_type
Type
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.tea . 
VALUES ?x1 { :m.058vrl } 
?x0 :food.tea.tea_type ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND food.tea (JOIN food.tea.tea_type m.058vrl))