which engine was invented most recently?
Entity
m.02crk
Diesel engine
class literal
engineering.engine_category 0^^http://www.w3.org/2001/XMLSchema#int
engineering.engine_category type.datetime
Engine category 0
none argmax
law.invention.date_of_invention
Date of invention
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.engine_category . 
{
SELECT (MAX(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :engineering.engine_category . 
?y0 :law.invention.date_of_invention ?y1 . 
FILTER ( ?y0 != ?y1  )
}
}
?x0 :law.invention.date_of_invention ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(ARGMAX engineering.engine_category law.invention.date_of_invention)