Question: What is it that Aladdin (the one that has Charlie Adler as a voice actor) and Tim Allen (the one that is a crew member of The Princess and the Frog) have in common?
Choices:
eye color
distributor
production designer
hair color
father
occupation
film crew member
has edition
winner
official religion
Program:
function: Find
inputs: Charlie Adler
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Aladdin
function: And
dependencies: 1
2
function: Find
inputs: The Princess and the Frog
function: Relate
dependencies: 4
inputs: film crew member
forward
function: Find
inputs: Tim Allen
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Aladdin" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Charlie Adler" . ?e_2 <pred:name> "Tim Allen" . ?e_4 <film_crew_member> ?e_2 . ?e_4 <pred:name> "The Princess and the Frog" . ?e_1 ?p ?e_2 .  }
Answer: film crew member