Question: What is the connection between Aladdin (the one that mainly depicts fairy tale) to Gilbert Gottfried?
Choices:
official religion
license
symptoms
fictional universe described in
located on astronomical location
maintained by
religious order
source of material
voice actor
newspaper format
Program:
function: Find
inputs: fairy tale
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Aladdin
function: And
dependencies: 1
2
function: Find
inputs: Gilbert Gottfried
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aladdin" . ?e_1 <main_subject> ?e_3 . ?e_3 <pred:name> "fairy tale" . ?e_2 <pred:name> "Gilbert Gottfried" . ?e_1 ?p ?e_2 .  }
Answer: voice actor