Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on REST vs. GraphQL – A search for evidence on which is better. Parent comment
E.g. the following REST
/articles-with-comments?number=20
articlesWithComments(number: Integer) { title contents ... }
E.g. the following REST
which returns title, contents etc. would map to a completely new query in graphql so it is exactly as easy to optimize. Of course this is not very composable, but that is equally true for both solutions.