Did {Ramadan} {followed by} {Eid al-Adha}?
Was Eid al-adha preceded by Ramadan?
Was Ramadan followed by Eid al-adha?
ASK WHERE { resource:Ramadan property:followed_by resource:Eid_al-Adha }
 ASK { ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> <http://wikidata.dbpedia.org/resource/Q41662> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P156> . ?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q514400>. } 
ASK WHERE { wd:Q41662 wdt:P156 wd:Q514400 }