Databases and Social Networks