From Physics to Sociology: an Epistemological Investigation