Seven Samurai begat The Magnificent Seven, which begat Battle Beyond the Stars with Star Wars. Therefore, conceptually they're in-laws of a kind.
Err... Star Wars
came out three years before Battle Beyond the Stars
, and the latter was obviously a knockoff of the former as much as of The Seven Samurai
. So that doesn't prove a damn thing.