Is there a way to delete results of a query?

Let’s say I want to do some cleanup on my graph and delete all blocks that meet certain criteria. Is there a way to quickly delete all blocks resulting from a query without having to manually delete each one?

Try this: Mass delete query results