Question: How is American Beauty (the one whose genre is silent film) related to United States of America ?
Choices:
country of origin
commander of
subsidiary
official color
exclave of
connects with
inspired by
item operated
significant person
place of birth
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "American Beauty" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "silent film" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: silent film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: American Beauty
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4