find project that was completed the earliest.
Entity
m.0hz5pq2
Construction of Hadrian's Villa
class literal
projects.project 0^^http://www.w3.org/2001/XMLSchema#int
projects.project type.datetime
Project 0
none argmin
projects.project.actual_completion_date
Actual completion date
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 :projects.project . 
{
SELECT (MIN(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :projects.project . 
?y0 :projects.project.actual_completion_date ?y1 . 
FILTER ( ?y0 != ?y1  )
}
}
?x0 :projects.project.actual_completion_date ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(ARGMIN projects.project projects.project.actual_completion_date)