You asked:

is kampala more populous than san jose

Yes. Kampala is more populous than San Jose.
Kampala
Kampala
Kampala

San Jose
San Jose
San Jose