Question: How is Robert Morley related to Around the World in 80 Days (the one that has Peter Ustinov as a cast member) ?
Choices: military casualty classification
manner of death
approved by
medical treatment
candidate
located on astronomical location
instrument
convicted of
cast member
capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Around the World in 80 Days" . ?e_1 <cast_member> ?e_3 . ?e_3 <pred:name> "Peter Ustinov" . ?e_2 <pred:name> "Robert Morley" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Peter Ustinov
function: Relate
dependencies: 0
inputs: cast member
backward
function: Find
inputs: Around the World in 80 Days
function: And
dependencies: 1
2
function: Find
inputs: Robert Morley
function: QueryRelation
dependencies: 3
4
Answer: cast member