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