Deletion with upsert is not working

Those predicates doesn’t exist in your schema.

Surely you are confusing the schema model used in GraphQL with the DQL. If you want to use the same GraphQL schema model you should change your dataset and DQL schema to use Type as a prefix.