Fork of Get article creation date and Wikidata item by category by Theredproject
This query is marked as a draft This query has been published by Sage (Wiki Ed).

SQL

x
 
USE enwiki_p;
SELECT page_props.pp_value, article.page_title, revision.rev_timestamp
    MIN(revision.rev_id)
FROM revision
INNER JOIN page article ON 
   article.page_id = rev_page AND
   article.page_namespace = 0
INNER JOIN page talk ON 
   talk.page_title = article.page_title AND
   talk.page_namespace = 1
INNER JOIN categorylinks ON 
   cl_from = talk.page_id
INNER JOIN page_props ON
   article.page_id = page_props.pp_page
WHERE 
    cl_to = "WikiProject_Visual_arts_articles" AND
#   cl_to = "21st-century Indian photographers" AND
    page_props.pp_propname = "wikibase_item"
GROUP BY article.page_id
ORDER BY rev_timestamp
LIMIT 10;
By running queries you agree to the Cloud Services Terms of Use and you irrevocably agree to release your SQL under CC0 License.
All SQL code is licensed under CC0 License.

Checking query status...