Abundance to age ratios in the HARPS-GTO sample with Gaia DR2