Question: What is the connection between The Patriot (whose director is Dean Semler) and the United States of America?
Choices:
designed to carry
country
color
subject has role
medical condition
member of
country of origin
airline alliance
approved by
director/manager
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Patriot" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Dean Semler" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Dean Semler
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: The Patriot
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4