which wine uses the fruit source of purchased juice?
Entity Entity Entity Entity Entity
m.03ywjt5 m.03mm85n m.03ywjqb m.03ywjcm m.03ywjhs
2005 Cameron Hughes "Evergreen Series" Napa Valley Cabernet Sauvignon 2002 Sunset "J. Teldeschi Vineyard" Dry Creek Valley Zinfandel 2005 Cameron Hughes "Lot 44" Rutherford Cabernet Sauvignon 2005 Cameron Hughes "Lot 36" Rutherford Cabernet Sauvignon 2005 Cameron Hughes "Lot 47" Diamond Mountain District Cabernet Sauvignon
class entity
wine.wine m.02ws9zd
wine.wine wine.fruit_source
Wine Purchased Juice
none none
wine.wine.fruit_source
Fruit Source
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 . 
VALUES ?x1 { :m.02ws9zd } 
?x0 :wine.wine.fruit_source ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND wine.wine (JOIN wine.wine.fruit_source m.02ws9zd))