Takes a valid sparql tabular query and an endpoint, and downloads the results into a postgresql database