Deletion with upsert is not working

I am writing to request your assistance with Dgraph query and schema as I am new to this technology and still learning the ropes. I understand that you have experience in this field and I would greatly appreciate it if you could spare some time to help me out.

In order to make the most of your time and expertise, could you please let me know what additional information you may need from me to help me out? I am more than happy to provide any details or examples that may be necessary to ensure that you can provide the best possible assistance.

Thank you in advance for your help and support. I look forward to hearing from you soon.