#NEWLINE# def get( self , **kwargs ) : #NEWLINE# #INDENT# ns = { #NEWLINE# #INDENT# 'ow' : self . base_namespace , #NEWLINE# 'ns1' : self . rdf_namespace , #NEWLINE# 'ev' : ( self . base_namespace [ 'Evidence' ] + '/' ) , #NEWLINE# 'ns2' : ( ns . base_namespace [ 'SimpleProperty' ] + '/' ) , #NEWLINE# #UNINDENT# } #NEWLINE# q = '\n        SELECT ?DataObject ?x ?prop WHERE\n        {\n            ?DataObject rdf:type ow:DataObject .\n            ?DataObject ?x ?DataObject_prop .\n            ?DataObject_prop sp:value ?prop .\n            ?Evidence ev:asserts ?Evidence_asserts .\n            filter (EXISTS { ?DataObject_prop rdf:type ow:Property . })\n        # object\n        # asserts property pattern\n        # general property pattern\n        }\n        '