check sparql vars for factors_by_investigation