which wine is in alameda county?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.045rmk5 m.03p11xg m.045rm4q m.03mlh6k m.03mm832 m.03p121v m.03z9vrx m.03p11k9 m.045th_c
2005 Wente "Southern Hills" Livermore Valley Estate Cabernet Sauvignon 2004 Wente "Beyer Ranch Vineyard" Livermore Valley Zinfandel 2004 Wente "Charles Wetmore Vineyard" Livermore Valley Estate Reserve Cabernet Sauvignon 2005 Mitchell Katz "Ruby Hill Vineyard" Livermore Valley Estate Zinfandel 2005 Mitchell Katz "Liquid Love, Ruby Hill Vineyard" Livermore Valley Estate Zinfandel Port 2004 Tamas Estates "Ruby Hill Vineyard" Livermore Valley Zinfandel 2004 Concannon Livermore Valley Reserve Cabernet Sauvignon 2004 Wente "Smith Bench Vineyard" Livermore Valley Zinfandel 2004 Wente "Nth Degree" Livermore Valley Estate Cabernet Sauvignon
class entity
wine.wine m.0kpzy
wine.wine wine.wine_sub_region
Wine Alameda County
none none
wine.wine.wine_sub_region
Wine Sub-region
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.0kpzy } 
?x0 :wine.wine.wine_sub_region ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND wine.wine (JOIN wine.wine.wine_sub_region m.0kpzy))