SlowGuess/NAACL_2021_OCR huggingface dataset:
Figure 9: Unbalanced and balanced relational algebra trees for the utterance "How many flights arriving in Aberdeen city?", where the corresponding SQL query is SELECT COUNT(  $\star$ ) FROM flights JOIN airports ON flights_DESTairport = airports.airportcode WHERE airports.city = 'Aberdeen'.
Figure 10: Unbalanced and balanced relational algebra trees for the utterance "When is the first transcript released? List the date and details," where the corresponding SQL query is SELECT transcripts/transcript_date, transcripts.other_details FROM transcripts ORDER BY transcripts/transcript_date ASC LIMIT 1.
Figure 11: Unbalanced and balanced relational algebra trees for the utterance "How many dog pets are raised by female students?", where the corresponding SQL query is SELECT COUNT( * ) FROM student JOIN has_pet ON student.stuid = has_pet.stuid JOIN pets ON has_pet.petid = pets.petid WHERE student SEX = 'F' AND pets.pettype = 'dog'.
Figure 12: Unbalanced and balanced relational algebra trees for the utterance "Find the number of distinct name of losers.", where the corresponding SQL query is SELECT COUNT ( DISTINCT matches.loser_name) FROM matches.