name the type of the earliest tennis match.
Entity Entity
m.04hdtlb m.04hdtl5
Men's singles Women's singles
class class literal
tennis.tennis_match_type tennis.tennis_match 0^^http://www.w3.org/2001/XMLSchema#int
tennis.tennis_match_type tennis.tennis_match type.datetime
Tennis Match Type Tennis Match 0
none none argmin
tennis.tennis_match.match_format tennis.tennis_match.date
Match Format 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 :tennis.tennis_match_type . 
?x1 :type.object.type :tennis.tennis_match . 
{
SELECT (MIN(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :tennis.tennis_match_type . 
?y1 :type.object.type :tennis.tennis_match . 
?y1 :tennis.tennis_match.match_format ?y0 . 
?y1 :tennis.tennis_match.date ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x1 :tennis.tennis_match.match_format ?x0 . 
?x1 :tennis.tennis_match.date ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMIN tennis.tennis_match_type (JOIN (R tennis.tennis_match.match_format) tennis.tennis_match.date))