Question: How is Michigan State University alumnus Walter Hill related to the role of film director?
Choices:
characters
game mode
subsidiary
founded by
said to be the same as
hair color
official language
language of work or name
occupation
location of formation
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Walter Hill" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "Michigan State University" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Michigan State University
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Walter Hill
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4