def list_results(query_results):
    """
    keys :: [key]
     = all possible keys. (Not all results will contain all keys).
    results :: [dict]
     = list of results
    """
    keys = query_results['head']['vars']
    results = query_results['results']['bindings']
    return keys, results