which is the battery size of cell variation with maximum capacity?
Entity
m.05f08s
AA battery
class class literal
engineering.battery_size engineering.battery_size_cell_variation 0^^http://www.w3.org/2001/XMLSchema#int
engineering.battery_size engineering.battery_size_cell_variation type.float
Battery size Battery size cell variation 0
none none argmax
engineering.battery_size_cell_variation.size engineering.battery_size_cell_variation.capacity
Size Capacity
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 :engineering.battery_size . 
?x1 :type.object.type :engineering.battery_size_cell_variation . 
{
SELECT (MAX(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :engineering.battery_size . 
?y1 :type.object.type :engineering.battery_size_cell_variation . 
?y1 :engineering.battery_size_cell_variation.size ?y0 . 
?y1 :engineering.battery_size_cell_variation.capacity ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x1 :engineering.battery_size_cell_variation.size ?x0 . 
?x1 :engineering.battery_size_cell_variation.capacity ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMAX engineering.battery_size (JOIN (R engineering.battery_size_cell_variation.size) engineering.battery_size_cell_variation.capacity))