Question: What is the connection between Hearts and Minds (the one that received 47th Academy Awards) to documentary film?
Choices:
genre
designed by
fabrication method
legal form
political ideology
successful candidate
doctoral student
sex or gender
work location
military conflicts
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hearts and Minds" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "47th Academy Awards" . ?e_2 <pred:name> "documentary film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: 47th Academy Awards
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Hearts and Minds
function: And
dependencies: 1
2
function: Find
inputs: documentary film
function: QueryRelation
dependencies: 3
4