As a sci-fi epic, Star Wars has appropriately adventurous and heroic music - particularly the main theme, which uses several music tricks to help establish that heroic quality.
The use of an ascending perfect fifth and triplets has a strong precedent in Richard Wagner's Ring Cycle, particularly in the third opera, Siegfried, which feature's the leitmotif known as "Siegfried's Theme" very prominently.
In 1978, one year after the release of Star Wars: A New Hope, John Williams scored Superman and wrote a theme that bears strong similarities to the Star Wars Main Theme. Both feature very similar openings, with triplet pick ups on scale degree 5 followed by an ascending perfect fifth from 1 to 5; both employ comparable (though hardly identical) triplets.
These similarities are no surprise, as both tunes needed such heroic qualities.
The Music of Star Wars
These posts will help focus and develop my analyses of John Williams' film scores.