adding foaf name disambiguation logic with some debug sysouts