code: private Optional<IQ> convertDatalogDefinitions(Predicate datalogAtomPredicate,
                                                    Multimap<Predicate, CQIE> datalogRuleIndex,
                                                    Collection<Predicate> tablePredicates,
                                                    Optional<ImmutableQueryModifiers> optionalModifiers)
              throws InvalidDatalogProgramException {
  
          Collection<CQIE> atomDefinitions = datalogRuleIndex.get(datalogAtomPredicate);
  
          return convertDatalogDefinitions(atomDefinitions,tablePredicates,optionalModifiers);
  
      }
docs: TODO: explain and comment