Question: What is the connection between The King and I (the one that received Academy Award for Best Actor) to Oscar Hammerstein II?
Choices:
screenwriter
costume designer
religion
based on
located in or next to body of water
founded by
ethnic group
military casualty classification
writing system
takes place in fictional universe
Answer: screenwriter
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The King and I" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Academy Award for Best Actor" . ?e_2 <pred:name> "Oscar Hammerstein II" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Academy Award for Best Actor
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: The King and I
function: And
dependencies: 1
2
function: Find
inputs: Oscar Hammerstein II
function: QueryRelation
dependencies: 3
4