Reorder toRDF to simplify.