Shortest Path Queries

Are shortest path queries only possible with DQL, not GraphQL?