SWI-Prolog Did You Know Did you know? you can turn ugraphs into graphml Search Documentation:
Predicate rb_fold/4