Petroleum or coal fractions