Added detectection of unsaved changes to assertions and SPARQL queries