which wine in san joaquin county has the maximum amount of alcohol?
Entity Entity
m.03brx1y m.03brx4k
2004 Abundance "Old Vine, Mencarini Vineyards" Lodi Zinfandel 2005 Abundance "Abundantly Rich Red, Mencarini Vineyards" Lodi Zinfandel
class literal entity
wine.wine 0^^http://www.w3.org/2001/XMLSchema#int m.0l2sr
wine.wine type.float wine.wine_sub_region
Wine 0 San Joaquin County
none argmax none
wine.wine.percentage_alcohol wine.wine_sub_region.wines
Percentage alcohol Wines
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 . 
{
SELECT (MAX(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :wine.wine . 
VALUES ?y2 { :m.0l2sr } 
?y0 :wine.wine.percentage_alcohol ?y1 . 
?y2 :wine.wine_sub_region.wines ?y0 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
VALUES ?x2 { :m.0l2sr } 
?x0 :wine.wine.percentage_alcohol ?x1 . 
?x2 :wine.wine_sub_region.wines ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMAX (AND wine.wine (JOIN (R wine.wine_sub_region.wines) m.0l2sr)) wine.wine.percentage_alcohol)