def __bindings(self):
    store = self.store
    nm = store.namespace_manager
    bindings = {}
    for predicate in set(store.predicates()):
        (prefix, namespace, name) = nm.compute_qname_strict(predicate)
        bindings[prefix] = URIRef(namespace)
    RDFNS = URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#')
    if ('rdf' in bindings):
        assert (bindings['rdf'] == RDFNS)
    else:
        bindings['rdf'] = RDFNS
    for (prefix, namespace) in bindings.items():
        (yield (prefix, namespace))
def __bindings(self):
    store = self.store
    nm = store.namespace_manager
    bindings = {}
    for predicate in set(store.predicates()):
        (prefix, namespace, name) = nm.compute_qname_strict(predicate)
        bindings[prefix] = URIRef(namespace)
    RDFNS = URIRef('http://www.w3.org/1999/02/22-rdf-syntax-ns#')
    if ('rdf' in bindings):
        assert (bindings['rdf'] == RDFNS)
    else:
        bindings['rdf'] = RDFNS
    for (prefix, namespace) in bindings.items():
        (yield (prefix, namespace))