Question: What is the relationship between Astro Boy (the one whose composer is John Ottman) to Eugene Levy?
Choices:
capital
use
designed by
author
voice actor
grants
newspaper format
located on astronomical location
significant event
professorship
Answer: voice actor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Astro Boy" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "John Ottman" . ?e_2 <pred:name> "Eugene Levy" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Ottman
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Astro Boy
function: And
dependencies: 1
2
function: Find
inputs: Eugene Levy
function: QueryRelation
dependencies: 3
4