We present a new optical spectroscopic survey of 1777 'star-forming' ('SF') and 366 'non-star-forming' ('non-SF') galaxies at redshifts z~0-1 (2143 in total), 22 AGN and 423 stars, observed by instruments such as the Deep Imaging Multi-Object Spectrograph, the Visible Multi-Object Spectrograph and the Gemini Multi-Object Spectrograph, in three fields containing five quasi-stellar objects (QSOs) with Hubble Space Telescope (HST) ultraviolet spectroscopy. We also present a new spectroscopic survey of 173 'strong' (10^14^<=N_HI_<~10^17^cm^-2^) and 496 'weak' (10^13^<~N_HI_<10^14^cm^-2^) intervening HI (Ly{alpha}) absorption-line systems at z<~1 (669 in total), observed in the spectra of eight QSOs at z~1 by the Cosmic Origins Spectrograph and the Faint Object Spectrograph on the HST. Combining these new data with previously published galaxy catalogues such as the Very Large Telescope Visible Multi-Object Spectrograph Deep Survey and the Gemini Deep Deep Survey, we have gathered a sample of 654 HI absorption systems and 17509 galaxies at transverse scales <~50Mpc, suitable for a two-point correlation function analysis. We present observational results on the HI-galaxy ({xi}_ag_) and galaxy-galaxy ({xi}_gg_) correlations at transverse scales r_perp_<~10Mpc, and the HI-HI autocorrelation ({xi}_aa_) at transverse scales r_perp_<~2Mpc.