class_docstr: QA4MRE dataset from CLEF shared tasks 2011, 2012, 2013.
docstr: Yields examples.
docstr_tok: ["Yields","examples","."]
code: def _generate_examples(self, filepath):
      """Yields examples."""
      with tf.io.gfile.GFile(filepath, "rb") as f:
          tree = ET.parse(f)
          root = tree.getroot()  # test-set
          for topic in root:
              topic_id = topic.attrib["t_id"]
              topic_name = topic.attrib["t_name"]
              for test in topic:
                  test_id = test.attrib["r_id"]
                  for document in test.iter("doc"):
                      document_id = document.attrib["d_id"]
                      document_str = document.text
                  for question in test.iter("q"):
                      yield _get_question(
                          topic_id,
                          topic_name,
                          test_id,
                          document_id,
                          document_str,
                          question,
                      )
  
file_path: datasets/tensorflow_datasets/datasets/qa4mre/qa4mre_dataset_builder.py
imports: import os
  import xml.etree.ElementTree
  from absl import logging
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 3 for calling the Builder obj's underlying member method code with example usage: obj._generate_examples(filepath) without return types