Question: What is the connection between A Bug's Life (the one whose director is John Lasseter) to United States of America?
Choices:
owner of
country of origin
risk factor
fictional universe described in
inspired by
has edition
does not have part
presenter
narrative location
sidekick of
Program:
function: Find
inputs: John Lasseter
function: Relate
dependencies: 0
inputs: director
backward
function: Find
inputs: A Bug's Life
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Bug's Life" . ?e_1 <director> ?e_3 . ?e_3 <pred:name> "John Lasseter" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of origin