Question: How is Aladdin, directed by Guy Ritchie, related to the United States of America?
Choices:
member of
godparent
religious order
archives at
software engine
captain
cites
country of origin
patron saint
film crew member
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aladdin" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "Guy Ritchie" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Guy Ritchie
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: Aladdin
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4