ROX: Run-Time Optimization of XQueries: By Means of Sampling in Database Systems