sparql: check all artifacts for authentication and existence before
performing any queries