Question: What does Tom Johnson (an employee of CNN) have to do with the United States of America?
Choices:
lyrics by
cast member
affiliation
military branch
country of citizenship
vehicle normally used
fictional universe described in
narrator
start point
field of work
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Tom Johnson" . ?e_1 <employer> ?e_3 . ?e_3 <pred:name> "CNN" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: CNN
function: Relate
dependencies: 0
inputs: employer
backward
function: Find
inputs: Tom Johnson
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4