what day of year in oct is the smallest day?
Entity
m.05ll8
October 3
class literal entity
time.day_of_year 0^^http://www.w3.org/2001/XMLSchema#int m.05lf_
time.day_of_year type.int time.month
Day Of Year 0 oct
none argmin none
time.day_of_year.day time.day_of_year.month
Day Month
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 :time.day_of_year . 
{
SELECT (MIN(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :time.day_of_year . 
VALUES ?y2 { :m.05lf_ } 
?y0 :time.day_of_year.day ?y1 . 
?y0 :time.day_of_year.month ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
VALUES ?x2 { :m.05lf_ } 
?x0 :time.day_of_year.day ?x1 . 
?x0 :time.day_of_year.month ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMIN (AND time.day_of_year (JOIN time.day_of_year.month m.05lf_)) time.day_of_year.day)