Episodes I-III had TWO good things. Natalie Portman and the fight between Skywalker and Kenobi at the end of III. LOTR beats those.
However, when you put LOTR up against the Trilogy, then it is no question Star Wars is better. The movies alone redefined Sci-fi and the concept of special effects. They truly are masterpieces. But to be fair, the LOTR books was probably one of my favorite series I ever read.