if a battery has 228 cells, what type of battery is it?
Entity
m.085dh9n
Toyota Prius NHW11 Battery
class literal
engineering.battery 228^^http://www.w3.org/2001/XMLSchema#integer
engineering.battery type.int
Battery 228
none none
engineering.battery.number_of_cells
Number of cells
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 . 
VALUES ?x1 { "228"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :engineering.battery.number_of_cells ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND engineering.battery (JOIN engineering.battery.number_of_cells 228^^http://www.w3.org/2001/XMLSchema#integer))