the calendar system of ramadhan contains which day of the week?
Entity Entity Entity Entity Entity Entity Entity
m.0f7_n m.0f6kx m.0f7yn m.0f7z4 m.0f6ld m.0f7zn m.0f7_4
Tuesday Monday Saturday Friday Sunday Thursday Wednesday
class class entity
time.day_of_week time.calendar m.06j8x
time.day_of_week time.calendar time.month
Day Of Week Calendar System ramadhan
none none none
time.day_of_week.calendar_system time.month.calendar_system
Calendar System Calendar System
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_week . 
?x1 :type.object.type :time.calendar . 
VALUES ?x2 { :m.06j8x } 
?x0 :time.day_of_week.calendar_system ?x1 . 
?x2 :time.month.calendar_system ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND time.day_of_week (JOIN time.day_of_week.calendar_system (JOIN (R time.month.calendar_system) m.06j8x)))