def get_resource_relationship_query_session_for_bin(self, bin_id=None, proxy=None):
if bin_id is None or proxy is None:<EOL><INDENT>raise NullArgument<EOL><DEDENT>raise Unimplemented()<EOL>
Gets the ``OsidSession`` associated with the resource relationship query service for the given bin.

        arg:    bin_id (osid.id.Id): the ``Id`` of the ``Bin``
        arg:    proxy (osid.proxy.Proxy): a proxy
        return: (osid.resource.ResourceRelationshipQuerySession) - a
                ``ResourceRelationshipQuerySession``
        raise:  NotFound - no ``Bin`` found by the given ``Id``
        raise:  NullArgument - ``bin_id`` or ``proxy`` is ``null``
        raise:  OperationFailed - unable to complete request
        raise:  Unimplemented -
                ``supports_resource_relationship_query()`` or
                ``supports_visible_federation()`` is ``false``
        *compliance: optional -- This method must be implemented if
        ``supports_resource_relationship_query()`` and
        ``supports_visible_federation()`` are ``true``*