Question: How is the astronaut Wonder Woman related to the United States of America?
Choices: software engine
exclave of
director
vehicle normally used
located on terrain feature
parent astronomical body
spouse
author
contains settlement
country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Wonder Woman" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "astronaut" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: astronaut
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Wonder Woman
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
Answer: country of origin