train graphql