what color is montalcino style wine?
Entity
m.02wsb20
Red Wine
class class entity
wine.wine_color wine.wine m.04pkns
wine.wine_color wine.wine food.wine_style
Wine color Wine montalcino
none none none
wine.wine_color.wines wine.wine.wine_style
Wines Wine style
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 :wine.wine_color . 
?x1 :type.object.type :wine.wine . 
VALUES ?x2 { :m.04pkns } 
?x0 :wine.wine_color.wines ?x1 . 
?x1 :wine.wine.wine_style ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND wine.wine_color (JOIN wine.wine_color.wines (JOIN wine.wine.wine_style m.04pkns)))