#NEWLINE# def get_ore_sword_statement( self , sword_statement_iri ) : #NEWLINE# #INDENT# '\nGetting the Sword Statement.\n        ' #NEWLINE# conn_l . debug ( ( 'Trying to GET the ORE Sword Statement at %s.' % sword_statement_iri ) ) #NEWLINE# response = self . get_resource ( sword_statement_iri , headers = { #NEWLINE# #INDENT# 'Accept' : 'application/rdf+xml' , #NEWLINE# #UNINDENT# } ) #NEWLINE# if ( response . code == 200 ) : #NEWLINE# #INDENT# if True : #NEWLINE# #INDENT# conn_l . debug ( 'Attempting to parse the response as a ORE Sword Statement' ) #NEWLINE# s = Ore_Sword_Statement ( response . content ) #NEWLINE# conn_l . debug ( 'Parsed SWORD2 Statement, returning' ) #NEWLINE# return s