#NEWLINE# def simplify_for_render( self , simplify_value , simplify_model ) : #NEWLINE# #INDENT# simplified = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } #NEWLINE# for ( predicate , object ) in self . _graph . predicate_objects ( simplify_model . _uri ) : #NEWLINE# #INDENT# if ( predicate == RDF [ 'type' ] ) : #NEWLINE# #INDENT# continue #NEWLINE# #UNINDENT# predicate = { #NEWLINE# #INDENT# DCTERMS [ 'title' ] : 'title' , #NEWLINE# FOAF [ 'logo' ] : 'logo' , #NEWLINE# DCTERMS [ 'description' ] : 'description' , #NEWLINE# #UNINDENT# } . get ( predicate , predicate ) #NEWLINE# simplified [ predicate ] = simplify_value ( object ) #NEWLINE# #UNINDENT# return simplified