This is the second edition of "A Semantic Web Primer" by Grigoris Antoniou and Frank van Harmelen. It provides an introduction to key technologies for realizing the Semantic Web vision, including XML, RDF, RDF Schema, OWL, rules, and applications. The book is intended as a textbook for university courses on the Semantic Web and for self-study by readers looking to learn about Semantic Web technologies.