Midgard2 is a content repository that provides common rules for data access and signals about changes. It uses objects instead of SQL for a more flexible data model that is scriptable. Midgard2 provides a generic content storage based on ontologies, with object-relational mapping and a query builder. It is usable as a library in multiple languages and supports synchronization, sharing, and interprocess communication through D-Bus signals.