How do I express a many-to-many relation in a TypeQL schema?

What I am trying to do is make a system that learns. I wrote about it in topic: