These are the POSTGRESQL query files for mapping the largest family tree. These files need serious cleaning, but I'd figure I'd put them up for now. Will clean it all up in the next week. More explanation to come soon.
In the meantime, read about and see what has been done: http://mapstoryblog.thenittygritty.org/mapping-all-of-humanity-in-a-single-global-family-tree/