Database for sets is set + graphs