See this sample script for examples of exact syntax.
See the TriQL Language Manual for syntax, descriptions, and examples. Example queries can also be seen in the Samples tab.