who manufactured the latest discontinued computer?
Entity
m.0k8z
Apple Inc.
class class literal
computer.computer_manufacturer_brand computer.computer 0^^http://www.w3.org/2001/XMLSchema#int
computer.computer_manufacturer_brand computer.computer type.datetime
Computer Manufacturer/Brand Computer 0
none none argmax
computer.computer_manufacturer_brand.computer_models computer.computer.discontinued
Computer Models Discontinued
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 :computer.computer_manufacturer_brand . 
?x1 :type.object.type :computer.computer . 
{
SELECT (MAX(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :computer.computer_manufacturer_brand . 
?y1 :type.object.type :computer.computer . 
?y0 :computer.computer_manufacturer_brand.computer_models ?y1 . 
?y1 :computer.computer.discontinued ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x0 :computer.computer_manufacturer_brand.computer_models ?x1 . 
?x1 :computer.computer.discontinued ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMAX computer.computer_manufacturer_brand (JOIN computer.computer_manufacturer_brand.computer_models computer.computer.discontinued))