Question: What does the the film director John Wells have to do with being a film director?
Choices: inspired by
writing system
successful candidate
home venue
health specialty
exclave of
has dialect (DEPRECATED)
characters
occupation
followed by
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Wells" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "film director" . ?e_2 <pred:name> "film director" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film director
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Wells
function: And
dependencies: 1
2
function: Find
inputs: film director
function: QueryRelation
dependencies: 3
4
Answer: occupation