LINQ functions for the graphquery parser