Question: How theater director Mark Robson is related to the profession actor?
Choices: occupation
official color
film release region
head coach
signatory
continent
partially contains
author
lyrics by
place of birth
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Robson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "theatre director" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: theatre director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mark Robson
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
Answer: occupation