Question: What is the relationship between Dave Foley, who is related to the sport of American football, and the United States of America?
Choices:
commissioned by
country of citizenship
voice actor
statistical leader
dedicated to
location of final assembly
languages spoken, written or signed
destination point
chairperson
color
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Dave Foley" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "American football" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: American football
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Dave Foley
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4