MIRROR is a tool that automatically generates R2RML mappings from relational databases. It extracts tables and relationships from the database schema and generates two sets of mappings: 1) mappings that produce direct mapping triples, and 2) mappings that encode the relationships between tables as additional triples. The tool was tested on W3C direct mapping test cases and an extension of the D011 test case to include one-to-many, many-to-many relationships and subclass relationships.