We will consider the Kakeya conjecture; the hope that δ-tubes, which point in directions which are separated by δ, cannot be compressed very much by positioning them strategically. This can be formulated precisely as a lower bound on the measure of any set that contains the tubes. On the one hand, we will see that the conjectured bound holds when the containing set is a neighbourhood of any real algebraic variety. The proof employs tools from the theory of semialgebraic sets including Gromov's algebraic lemma and Tarski's projection theorem. On the other hand, we will see that the conjectured bound holds when there is a total absence of algebraic structure. Balancing between the two cases yields improved bounds in certain intermediate dimensions. This is joint work with Jonathan Hickman and Nets Katz