#NEWLINE# def testSPARQLNotEquals( self ) : #NEWLINE# #INDENT# rt = self . graph . query ( testquery , initNs = { #NEWLINE# #INDENT# 'rdf' : RDF . uri , #NEWLINE# #UNINDENT# } , DEBUG = False ) #NEWLINE# for row in self : #NEWLINE# #INDENT# assert ( str ( row [ 0 ] ) == 'http://example.org/bar' )