Introduction to Parsoid-format HTML for wiki articles: how to fetch it, how to query it, what sorts of things you can do.
An updated version of a tutorial I gave at the 2015 Hackathon: https://en.wikipedia.org/w/index.php?title=File%3ADoing_Cool_Things_with_Wiki_Content_(Parsoid_Power!).pdf&page=1