In my opinion, you are right. Use a chemical equation, such as: S + O2 -> SO2, to calculate the moles of sulfur.
Then, you don't need any other ratio. In fact, once you have the moles of sulfur in the ore, calculate the weight of sulfur using its atomic mass.
Finally, with the weight of sulfur and of the whole ore, you'll be able to determine the percentage of sulfur in the sample.