Only unwrap children if there is a wrapping rdf:RDF
Filter out the ksamsok presentation literal
Change with-statement to try/finally to support Python 2.6 on SuSE..