Question: How is the actor Simon Baker related to L.A. Confidential?
Choices: sponsor
registered with
cast member
season starts
drug used for treatment
dedicated to
honorific suffix
military conflicts
shares border with
capital of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "L.A. Confidential" . ?e_2 <pred:name> "Simon Baker" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: L.A. Confidential
function: Find
inputs: actor
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Simon Baker
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: cast member