KOTOR came first, infamous would be the non star wars version of KOTOR.
KOTOR is tabletop style turn based gameplay, infamous is not like KOTOR at all.
You might as well have asked; "So you are telling me that it is basically the Star Wars version of Fallout NV?"