Complex sentence: Wagn is a wiki application written in Ruby on Rails, which incorporates a wiki, a database, and a content management system.
Split into simpler sentences: Wagn is a wiki application written in Ruby on Rails. It incorporates a wiki, a database, and a content management system.