Question: How is James Ivory (the one that received Copley Medal) related with an astronomer?
Choices: voice actor
original film format
commissioned by
had as last meal
honorific suffix
costume designer
donated by
occupation
religion
located in or next to body of water
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Ivory" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Copley Medal" . ?e_2 <pred:name> "astronomer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Copley Medal
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: James Ivory
function: And
dependencies: 1
2
function: Find
inputs: astronomer
function: QueryRelation
dependencies: 3
4
Answer: occupation