Question: What is the relationship between A Bug's Life, which has Brad Garrett as a voice actor, and Walt Disney Pictures?
Choices:
set in period
mascot
country for sport
production company
foundational text
diplomatic relation
followed by
depicts
religion
place of origin (Switzerland)
Program:
function: Find
inputs: Brad Garrett
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: A Bug's Life
function: And
dependencies: 1
2
function: Find
inputs: Walt Disney Pictures
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "A Bug's Life" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Brad Garrett" . ?e_2 <pred:name> "Walt Disney Pictures" . ?e_1 ?p ?e_2 .  }
Answer: production company