I saw there is data.stackexchange.com on which we can query questions, for example, protected questions. Is there any queries to list questions closed for particular reason? I need to list off-topic questions not about Ubuntu to determine if we need activate migration path to StackOverflow and SuperUser.
By the way, I'd like to know why they were deactivated. I saw a reasonable quantity of quite good posts about Windows (and that's why I need to query them) which were closed as off-topic.