which holiday category includes the january 1 holiday?
Entity Entity Entity Entity Entity Entity
m.02h7bqs m.0znx071 m.014w0v m.01g5pq m.09gqnmd m.03wly3b
International holiday Public Holiday in Laos Bank holiday US Federal holiday Public holiday US trading holiday
class class entity
time.holiday_category time.holiday m.040gb
time.holiday_category time.holiday time.day_of_year
Holiday Category Holiday January 1
none none none
time.holiday.type_of_holiday time.holiday.day_of_year
Holiday Category Day Of Year
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.holiday_category . 
?x1 :type.object.type :time.holiday . 
VALUES ?x2 { :m.040gb } 
?x1 :time.holiday.type_of_holiday ?x0 . 
?x1 :time.holiday.day_of_year ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND time.holiday_category (JOIN (R time.holiday.type_of_holiday) (JOIN time.holiday.day_of_year m.040gb)))