Question: The Patrick O'Neal whose birthplace is Santa Monica is related in what way to the profession of journalist?
Choices: educated at
has parts of the class
had as last meal
original network
relative
professorship
occupation
interests
military conflicts
medical treatment
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Patrick O'Neal" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Santa Monica" . ?e_2 <pred:name> "journalist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Santa Monica
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Patrick O'Neal
function: And
dependencies: 1
2
function: Find
inputs: journalist
function: QueryRelation
dependencies: 3
4
Answer: occupation