Question: Tell me the date of birth for John Hughes (who was born in Swansea)
Choices:
1923-08-09
1951-04-12
1882-06-18
1970-01-28
1953-07-28
1965-12-03
1980-04-13
1961-11-20
1924-07-21
1965-07-03
Program:
function: Find
inputs: Swansea
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: John Hughes
function: And
dependencies: 1
2
function: QueryAttr
dependencies: 3
inputs: date of birth
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "John Hughes" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Swansea" .  ?e <date_of_birth> ?pv .  }
Answer: 1965-07-03