Question: How is baseball's Joe Walsh related to the United States of America?
Choices:
patron saint
candidate
studies
works in collection
head of government
partner
characters
country of citizenship
uses
used by
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Joe Walsh" . ?e_1 <sport> ?e_3 . ?e_3 <pred:name> "baseball" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: baseball
function: Relate
dependencies: 0
inputs: sport
backward
function: Find
inputs: Joe Walsh
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4