Question: How is Stephen Graham from the cast of This Is England related to the profession of actor?
Choices:
sponsor
business division
award received
has edition
occupation
game mode
main food source
military rank
has effect
takes place in fictional universe
Program:
function: Find
inputs: This Is England
function: Relate
dependencies: 0
inputs: cast member
forward
function: Find
inputs: Stephen Graham
function: And
dependencies: 1
2
function: Find
inputs: actor
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Stephen Graham" . ?e_3 <cast_member> ?e_1 . ?e_3 <pred:name> "This Is England" . ?e_2 <pred:name> "actor" . ?e_1 ?p ?e_2 .  }
Answer: occupation