Question: What is the date of birth for the photographer Roger Moore?
Choices: 1788-08-07
1943
1971-10-20
1883-07-19
1939-10-27
1985-02-07
1917-12-16
1957-12-30
1906-06-22
1968-12-03
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Roger Moore" . ?e <occupation> ?e_1 . ?e_1 <pred:name> "photographer" .  ?e <date_of_birth> ?pv .  }
Program:
function: Find
inputs: photographer
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Roger Moore
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
Answer: 1943