Question: How many papers have "Atsushi Ohori" published?
Schema: create table authorship (authid varchar, paperid varchar, PRIMARY KEY (authid)); create table authors (authid varchar, fname varchar, lname varchar, PRIMARY KEY (authid)); create table papers (paperid varchar, PRIMARY KEY (paperid))
SQL: select count(*) from authors as t1 join authorship as t2 on t1.authid = t2.authid join papers as t3 on t2.paperid = t3.paperid where t1.fname = "atsushi" and t1.lname = "ohori"