Simulating social relations in multi-agent systems