You need to have the Discourse Data Explorer installed. Then you paste that query into Data Explorer.
Does that help?