Thank you for your help, Holger. I was able to create assets with your help.
A couple of followup questions:
(1) in my script, the prefix does not work for me and I need to use the ontology name as the superclass name. e.g., g.createEverything() does not work but dpr.createEverything() works.
see the attachement 1 please. Can you hint at what the reason might be? What happens if multiple ontologies use the same prefix (by mistake)? And what if I do not have access to all ontologies of my organization to check for this?
(2) I have two classes named "Task" and "Level" and Task assets have an object property named "RelatedLevel". How can I assign Levels to the Tasks using ADS?