The management of uncertainty in logic programs using Fril