Question: How is Aladdin whose script was written by Guy Ritchie related to Frank Welker?
Choices:
voice actor
grants
producer
work location
production designer
replaces
designed by
author
talk show guest
record label
Program:
function: Find
inputs: Guy Ritchie
function: Relate
dependencies: 0
inputs: screenwriter
backward
function: Find
inputs: Aladdin
function: And
dependencies: 1
2
function: Find
inputs: Frank Welker
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aladdin" . ?e_1 <screenwriter> ?e_3 . ?e_3 <pred:name> "Guy Ritchie" . ?e_2 <pred:name> "Frank Welker" . ?e_1 ?p ?e_2 .  }
Answer: voice actor