Lagoon Lagoon is an application for centralizing structured and semi-structured data in an easy-to-query format. Written in Haskell and built on top of Postgres, Lagoon supports a variety of features including automatic schema generation, SQL queries, cross-dataset querying, and dataset versioning.