which invention has the earliest date of invention?
Entity
m.0jyfg
Glasses
class literal
law.invention 0^^http://www.w3.org/2001/XMLSchema#int
law.invention type.datetime
Invention 0
none argmin
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 :law.invention . 
{
SELECT (MIN(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :law.invention . 
?y0 :law.invention.date_of_invention ?y1 . 
FILTER ( ?y0 != ?y1  )
}
}
?x0 :law.invention.date_of_invention ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(ARGMIN law.invention law.invention.date_of_invention)