Question: How is Cairo, distributed by Metro-Goldwyn-Mayer related to George Sanders, the actor?
Choices: series spin-off
cast member
official language
home venue
natural product of taxon
mouth of the watercourse
distribution
taxon rank
occupation
replaces
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cairo" . ?e_1 <distributor> ?e_3 . ?e_3 <pred:name> "Metro-Goldwyn-Mayer" . ?e_2 <pred:name> "George Sanders" . ?e_2 <occupation> ?e_4 . ?e_4 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Metro-Goldwyn-Mayer
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: Cairo
function: And
dependencies: 1
2
function: Find
inputs: actor
function: Relate
dependencies: 4
inputs: occupation
backward
function: Find
inputs: George Sanders
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7
Answer: cast member