Let be an o-minimal structure over a real closed field R. Given a simplicial complex K and some definable subsets S 1, …, Sl of its realization ∣K∣ in R we prove that there exist a subdivision K′ of K and a definable triangulation φ′: ∣K′∣ → ∣K∣ of ∣K∣ partitioning S 1, …, Sl with φ′ definably homotopic to id ∣K∣. As an application of this result we obtain the semialgebraic Hauptvermutung.