carnival has which holiday partially in it?
Entity Entity
m.0_txhm9 m.0yqm96_
Carnival Saturday Carnival in the Netherlands
class entity
time.holiday m.09l9f
time.holiday time.holiday_period
Holiday Carnival
none none
time.holiday.holiday_period
Part Of Holiday Period
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.09l9f } 
?x0 :time.holiday.holiday_period ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND time.holiday (JOIN time.holiday.holiday_period m.09l9f))