the SQL query take in account the homologies and the 1st level of interactors
add some javadoc