what holiday is related to sukkot and is a holiday of judaism?
Entity Entity
m.011sbztk m.011sbzv2
Chol HaMoed Sukkot First day of Sukkot
class entity entity
time.holiday m.03_gx m.072qz
time.holiday religion.religion time.holiday_period
Holiday Judaism Sukkot
none none none
religion.religion.holidays time.holiday_period.holidays
Holidays Related Holidays
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 . 
VALUES ?x1 { :m.03_gx } 
VALUES ?x2 { :m.072qz } 
?x1 :religion.religion.holidays ?x0 . 
?x2 :time.holiday_period.holidays ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND time.holiday (AND (JOIN (R religion.religion.holidays) m.03_gx) (JOIN (R time.holiday_period.holidays) m.072qz)))