In that case, the easiest solution is to upgrade to 8.1.7+ or preferably 8.1.17 or newer since that's where the resources came from. The alternative is to find the named queries that were imported from the install directory and delete or move those files out of the install directory and then restart the Ignition service. You should be able to navigate to the projects folder and search for all .sql files (new format as of 8.1.6) as those will be what needs to be removed.