wikibot/smw.py
def rawquery(self,askQuery,title=None,limit=None):
        '''
        run the given askQuery and return the raw result
        Args:
            askQuery(string): the SMW inline query to be send via api
            title(string): the title (if any)
            limit(int): the maximum number of records to be retrieved (if any)
            
        Returns:
            dict: the raw query result as returned by the ask API
        '''
        fixedAsk=self.fixAsk(askQuery)
        result=None
        for singleResult in self.ask(fixedAsk, title, limit):
            if result is None:
                result=singleResult
            else:
                results=result['query']['results']
                singleResults=singleResult['query']['results']
                results.update(singleResults)
        return result

        run the given askQuery and return the raw result
        Args:
            askQuery(string): the SMW inline query to be send via api
            title(string): the title (if any)
            limit(int): the maximum number of records to be retrieved (if any)
            
        Returns:
            dict: the raw query result as returned by the ask API
        
run the given askQuery and return the raw result
run the given askQuery and return the raw result
def rawquery(self,askQuery,title=None,limit=None):
        fixedAsk=self.fixAsk(askQuery)
        result=None
        for singleResult in self.ask(fixedAsk, title, limit):
            if result is None:
                result=singleResult
            else:
                results=result['query']['results']
                singleResults=singleResult['query']['results']
                results.update(singleResults)
        return result
def rawquery ( self , askQuery , title = None , limit = None ) : fixedAsk = self . fixAsk ( askQuery ) result = None for singleResult in self . ask ( fixedAsk , title , limit ) : if result is None : result = singleResult else : results = result [ 'query' ] [ 'results' ] singleResults = singleResult [ 'query' ] [ 'results' ] results . update ( singleResults ) return result
run the given askQuery and return the raw result
run the given askQuery and return the raw result
'''
        run the given askQuery and return the raw result
        Args:
            askQuery(string): the SMW inline query to be send via api
            title(string): the title (if any)
            limit(int): the maximum number of records to be retrieved (if any)
            
        Returns:
            dict: the raw query result as returned by the ask API
        '''
the raw query result as returned by the ask API
the raw query result as returned by the ask API
dict
self
askQuery
the SMW inline query to be send via api
the SMW inline query to be send via api
title
the title (if any)
the title ( if any )
limit
the maximum number of records to be retrieved (if any)
the maximum number of records to be retrieved ( if any )