'MultiResolvePrefix.'

def MultiResolvePrefix(self, subjects, attribute_prefix, timestamp=None, limit=None, token=None):

    typ = rdf_data_server.DataStoreCommand.Command.MULTI_RESOLVE_PREFIX
    results = {}
    remaining_limit = limit
    for subject in subjects:
        request = self._MakeRequest([subject], attribute_prefix, timestamp=timestamp, token=token, limit=remaining_limit)
        response = self._MakeSyncRequest(request, typ)
        if response.results:
            result_set = response.results[0]
            values = [(pred, self._Decode(value), ts) for (pred, value, ts) in result_set.payload]
            if limit:
                if (len(values) >= remaining_limit):
                    results[subject] = values[:remaining_limit]
                    return results.iteritems()
                remaining_limit -= len(values)
            results[subject] = values
    return results.iteritems()
