The story is derived from Arabian Nights, which can be of PErsian, Arabian, Indian or Mesopotamian culture