an r6 / aa has what battery cell type?
Entity
m.0361c4
Alkaline battery
class class entity
engineering.battery_cell_type engineering.battery m.05f08s
engineering.battery_cell_type engineering.battery engineering.battery_size
Battery cell type Battery r6 / aa
none none none
engineering.battery_cell_type.batteries engineering.battery.size
Batteries Size
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_cell_type . 
?x1 :type.object.type :engineering.battery . 
VALUES ?x2 { :m.05f08s } 
?x0 :engineering.battery_cell_type.batteries ?x1 . 
?x1 :engineering.battery.size ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND engineering.battery_cell_type (JOIN engineering.battery_cell_type.batteries (JOIN engineering.battery.size m.05f08s)))