Question: How is the the journalist John Hughes related to journalist?
Choices: filmography
occupation
has dialect (DEPRECATED)
lyrics by
statistical leader
diaspora
noble title
significant person
candidacy in election
basic form of government
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Hughes" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "journalist" . ?e_2 <pred:name> "journalist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: journalist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: Find
inputs: journalist
function: QueryRelation
dependencies: 3
4
Answer: occupation