You'll need to repeatedly call the graphql to create multiple terms, as the mutation creates term by term. By the way check the graphiql documentation as there is one more parameter(optional) not shown in this example, to attach the term to a term group