Generates permissions for a SPARQL DELETE/INSERT patch.
Updates with only an INSERT can be done with just append permissions,
while DELETEs require write permissions as well.
Helper function that first runs the canHandle function followed by the handle function.
Throws the error of the canHandle function if the data can't be handled,
or returns the result of the handle function otherwise.
Generates permissions for a SPARQL DELETE/INSERT patch. Updates with only an INSERT can be done with just append permissions, while DELETEs require write permissions as well.