Question: When did the work period start for the person born in Punjab (the one whose end time is 1947)?
Choices:
1994
1970
2018-10-06
2018-06-27
1973
2012
1880
2018
2015
2006
Answer: 2015
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e <place_of_birth> ?e_1 . ?e_1 <pred:name> "Punjab" . ?e_1 <end_time> ?pv_1 . ?pv_1 <pred:year> 1947 . ?e <work_period_(end)> ?pv .  }
Program:
function: Find
inputs: Punjab
function: FilterYear
dependencies: 0
inputs: end time
1947
=
function: Relate
dependencies: 1
inputs: place of birth
backward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: work period (end)