Just to make a correction, it is 9:1 or 9.5:1 (9 1/2 to 1) not 9 to 5 to 1. So obviously the 9.5:1 is a higher compression ratio.
To make things simple, the 9:1 means that the 1 represents the volume in the cylinder + combustion chamber when the piston is at the top of the bore, and the 9 represents a volume 9 times (or parts) larger in the cylinder when the piston is at the bottom of the bore.
Does that make sense?