I would like to do something like a SQL cascading delete. It seems the closest thing in graql would be a cluster query to find everything related to a certain entity thru certain relationships, followed by an individual delete of each ID returned by the cluster query
Would it be possible to do this in one query? Also, this would leave orphaned attributes, and perhaps orphaned relationships. Is it possible to garbage collect orphaned attributes that have no users, and have relationships included in the cluster results?