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