Question: Tell me the person who directed Aladdin (the one in the adventure film genre)
Choices:
Spike Jonze
Max Fleischer
Pete Docter
Guy Ritchie
Richard Taylor
Roger Daltrey
William Henry Harrison
Richard Gere
Sylvester Stallone
Jim Henson
Program:
function: Find
inputs: adventure film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Aladdin
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: director
forward
function: FilterConcept
dependencies: 4
inputs: human
function: What
dependencies: 5
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <director> ?e . ?e_1 <pred:name> "Aladdin" . ?e_1 <genre> ?e_2 . ?e_2 <pred:name> "adventure film" .   }
Answer: Guy Ritchie