I\'m trying to write a predicate in Prolog that should work with a set of facts like these:
value(a,b) value(d,f) value(p,k)
Where the first