; and (B) the Committees on the Judiciary of the House of Representatives and of the Senate. (d) Restrictions relating to conduct of certain queries by Federal Bureau of Investigation Paragraph (3) of section 702(f), as added by subsection (a)(2) of this section, is amended by adding after subparagraph (C), as added by subsection (f) of this section, the following: (D) Querying procedures applicable to Federal Bureau of Investigation For any procedures adopted under paragraph (1) applicable to the Federal Bureau of Investigation, the Attorney General, in consultation with the Director of National Intelligence, shall include the following requirements: (i) Training A requirement that, prior to conducting any query, personnel of the Federal Bureau of Investigation successfully complete training on the querying procedures on an annual basis. (ii) Additional prior approvals for sensitive queries A requirement that, absent exigent circumstances, prior to conducting certain queries, personnel of the Federal Bureau of Investigation receive approval, at minimum, as follows: (I) Approval from the Deputy Director of the Federal Bureau of Investigation if the query uses a query term reasonably believed to identify a United States elected official, an appointee of the President or a State governor, a United States political candidate, a United States political organization or a United States person prominent in such organization, or a United States media organization or a United States person who is a member of such organization. (II) Approval from an attorney of the Federal Bureau of Investigation if the query uses a query term reasonably believed to identify a United States religious organization or a United States person who is prominent in such organization. (III) Approval from an attorney of the Federal Bureau of Investigation if such conduct involves batch job technology (or successor tool). (iii) Prior written justification A requirement that, prior to conducting a query using a United States person query term,