This document contains 4 RDF triples in machine-readable format. I am giving the error message properly in the try block, but not in the except block." ; prov:wasQuotedFrom . prov:wasDerivedFrom .