diff --git a/biokb/textminingservice_biokb/biokb.py b/biokb/textminingservice_biokb/biokb.py
index 84d7534d8af0251db0af91f7ace10cf7f660c6be..7170e87437ae3ad8d262bdf1dd0bac390bb94b2d 100644
--- a/biokb/textminingservice_biokb/biokb.py
+++ b/biokb/textminingservice_biokb/biokb.py
@@ -116,11 +116,9 @@ class BioKBService(TextMiningService):
                         ?other_entity a <http://lcsb.uni.lu/biokb#Protein> .
                         ?other_entity owl:sameAs ?ensembl_protein .
                     }
-
                 }
                 
                 GROUP BY ?other_entity 
-
             } ORDER BY DESC(?count) LIMIT %LIMIT%
         """.replace('%ENTITY%', entity).replace('%LIMIT%', str(limit)).replace('%ENTITY_TYPE_FILTER%',
                                                                                entity_types_filter)