Measurement of the BS0 meson lifetime using semileptonic decays