def queryAndConvert(self) : """This is here to override the inherited method; it is equivalent to L{query}. If the query type is I{not} SELECT, the method falls back to the L{corresponding method in the superclass<SPARQLWrapper.queryAndConvert>}. @return: the converted query result. """ if self.queryType == SELECT : return self.query() else : return SPARQLWrapper.queryAndConvert(self)
def queryAndConvert(self) : """This is here to override the inherited method; it is equivalent to ``query``. If the query type is *not* SELECT, the method falls back to the corresponding method in the superclass :class:`SPARQLWrapper.queryAndConvert`. :return: the converted query result. """ if self.queryType == SELECT : return self.query() else : return SPARQLWrapper.queryAndConvert(self)