what day of the year falls in august?
Entity Entity
m.0t89 m.0qhx
August 30 August 25
class entity
time.day_of_year m.0ll3
time.day_of_year time.month
Day Of Year August
none none
time.day_of_year.month
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 . 
VALUES ?x1 { :m.0ll3 } 
?x0 :time.day_of_year.month ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND time.day_of_year (JOIN time.day_of_year.month m.0ll3))