Bell's inequality for a single spin-1/2 particle and quantum contextuality