SQL
AخA
SELECT
page_title,
LEFT(content.content, LOCATE('.', content.content) - 1) AS first_sentence
FROM
page
JOIN
revision ON page.page_id = revision.rev_page
JOIN
slots ON revision.rev_id = slots.slot_revision_id
JOIN
content ON slots.slot_content_id = content.content_id
WHERE
page.page_namespace = 0
AND page.page_is_redirect = 0
AND content.content LIKE '%convicted felon%'
LIMIT 1000;
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.