Fix for WK-65: Invalid whitespace in RDF when provenance is turned on