You would need to keep track of the data you load then delete it. There is no easy way to delete all new data, although this is something we are investigating a solutions for. There is also a Memory class in Self that does support some basic querying API of the entire bot's database. See, https://www.botlibre.com/forum-post?id=14527502