Question: What's the relationship between English and Hearts and Minds (the one that origins from United States of America)?
Choices:
illustrator
production company
programming language
original language of film or TV show
religion
dissertation submitted to
general manager
enclave within
exported to
official religion
Answer: original language of film or TV show
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hearts and Minds" . ?e_1 <country_of_origin> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "English" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: Hearts and Minds
function: And
dependencies: 1
2
function: Find
inputs: English
function: QueryRelation
dependencies: 3
4