Change returns value GraphQueryResult to Graph in method using construct query.