Throw exception if any SPARQL query returns no results.  Only update database if no exceptions thrown.