Hi Reem!
Your problem seems to me as a more suitable for WM Quarry https://quarry.wmflabs.org/ (some docs https://meta.wikimedia.org/wiki/Research:Quarry), than the WDQS. I've used it just once and some time ago, so I won't be able to help you more, but it shouldn't be complicated in principal to find all articles in en.wiki in a certain category/ies (males, writers) and then sort/filter these by the article length.
Maybe it helps Best regards Jan
On Sat, 12 Jan 2019 at 12:16, Reem Al-Kashif reemalkashif@gmail.com wrote:
Hello!
Hope this finds you well. I put together a query https://query.wikidata.org/#SELECT%20%3Fitem%20%3FitemLabel%20%3FsitelinkEn%0A%0AWHERE%20%7B%0A%20%3Fitem%20wdt%3AP31%20wd%3AQ5.%0A%20%3Fitem%20wdt%3AP106%20wd%3AQ36180.%0A%20%3Fitem%20wdt%3AP21%20wd%3AQ6581097.%0A%20%3FsitelinkEn%20schema%3Aabout%20%3Fitem%3B%0A%20%20%09%09%09%20%20%20%20schema%3AisPartOf%20%3Chttps%3A%2F%2Fen.wikipedia.org%2F%3E.%0A%20SERVICE%20wikibase%3Alabel%20%7B%20bd%3AserviceParam%20wikibase%3Alanguage%20%22en%22.%20%7D%0A%20%20%7D to create a list of English Wikipedia articles about male writers. Is it possible to filter the results by size? For example, articles that are larger than or equal to 10k bytes?
I understand that this is better done by PetScan, but my PetScan query https://petscan.wmflabs.org/?language=en&project=wikipedia&depth=50&categories=Male%20writers&ns%5B0%5D=1&larger=10000&search_max_results=500&interface_language=en&&doit= refuses to cooperate for a reason I don't know yet.. :/
Thanks in advance.
Best, Reem
--
*Kind regards,Reem Al-Kashif*
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Virus-free. www.avg.com http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail <#m_-7395554735261053608_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2> _______________________________________________ Wikidata mailing list Wikidata@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata