Trek by far!
When I was a kid nothing was better than Star Wars, but as I've grown up I see the many, many faults in the films. Return of the Jedi is really awful, especially having the fearsome stormtroopers getting murdered by teddy bears.
When I was a teen I enjoyed Star Trek TNG and since I've grown to love the full Star Trek canon. I find Trek superior because it provides a compelling vision of the future. We can never live in the universe of Star Wars, they is no force, it can and will never exist. But the ideas and ideals or Star Trek are things we can learn from. Granted, I doubt there are vulcans or klingons warping around the galaxy but there are new worlds and potentially other civilizations to make contact with.
Now, I will say some of Gene Roddenberry's ideas were pie in the sky. While I think something like a United Federation of Planets makes sense I think the idea of global and inter-planetary governments is a stretch. The economics of the 23rd through 24th century is a contentious issue. Early on there were reference to buying and selling, credits and economic activity. But Roddenberry thought capitalism was icky and so Deep Space Nine it was more spelled out; apparently humanity (i.e. the Federation) had given up on money and economic gain for a philosophy of self improvement and work for the greater good. But they do discuss the idea that all these high ideals are just a byproduct of the creature comforts and technology and that if you took away the replicators and sonic showers humans would go right on back to their uncivilized ways.
Star Trek has also been hugely influential on technology while Star Wars has had zero impact. Trek predicted so many creations; tablets, cell phones, wearable technology, talking computers. We are on the brink of advancements in things like transporters, replicators, tricorders and someday warp drive.
In Trek we see people solve problems using their knowledge and teamwork. Trek has also proven to be an extremely flexible format. We've had multiple series with different crews and ships. In a series we have episodes exploring deep issues of morality, we also have crime dramas, time travel, action, adventure and romance. Trek delves into the question of what it means to be human, that's what makes it so compelling.