Question: What does Saddam Hussein have to do with president (which is also the position of Donald M. Payne)?
Choices:
has quality
found
has edition
airline alliance
nutrient
permanent resident of
screenwriter
family
platform
occupation
Program:
function: Find
inputs: Saddam Hussein
function: Find
inputs: Donald M. Payne
function: Relate
dependencies: 1
inputs: position held
forward
function: Find
inputs: president
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Saddam Hussein" . ?e_2 <pred:name> "president" . ?e_3 <position_held> ?e_2 . ?e_3 <pred:name> "Donald M. Payne" . ?e_1 ?p ?e_2 .  }
Answer: occupation