Question: What is the association of Ian McShane (born in Blackburn) to actor?
Choices: general manager
permanent resident of
position played on team / speciality
grants
military branch
facet of
subsidiary
educated at
occupation
office held by head of state
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Ian McShane" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Blackburn" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Blackburn
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Ian McShane
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
Answer: occupation