Question: How is Roy Thomas of the Philadelphia Phillies related to the United States of America?
Choices: history of topic
owner of
candidacy in election
country of citizenship
military branch
source of material
headquarters location
after a work by
basic form of government
head of state
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Roy Thomas" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Philadelphia Phillies" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Philadelphia Phillies
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Roy Thomas
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship