Question: What sort of relationship exists between Universal Pictures, the Bridesmaids distributor, and the SpongeBob SquarePants Movie, in which Lori Alan is a voice actor?
Choices:
enclave within
production company
nutrient
partner
lyrics by
student
field of this occupation
located in or next to body of water
has parts of the class
parent astronomical body
Program:
function: Find
inputs: Lori Alan
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: The SpongeBob SquarePants Movie
function: And
dependencies: 1
2
function: Find
inputs: Bridesmaids
function: Relate
dependencies: 4
inputs: distributor
forward
function: Find
inputs: Universal Pictures
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The SpongeBob SquarePants Movie" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Lori Alan" . ?e_2 <pred:name> "Universal Pictures" . ?e_4 <distributor> ?e_2 . ?e_4 <pred:name> "Bridesmaids" . ?e_1 ?p ?e_2 .  }
Answer: production company