#NEWLINE# def test_Query( self ) : #NEWLINE# #INDENT# query = 'select distinct ?Concept where {[] a ?Concept} LIMIT 1' #NEWLINE# res = self . graph . query ( query , initNs = { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) #NEWLINE# for i in res : #NEWLINE# #INDENT# assert ( type ( i [ 0 ] ) == URIRef ) , i [ 0 ] . n3 ( )