Question: What is the TOID of the town that is the place of birth for John Wells (the one whose date of death is 1998-01-11)?
Choices:
7000000000022028
4000000074548096
4000000074554428
4000000074545044
7000000000016417
4000000074549970
7000000000014192
4000000074542156
4000000074575690
4000000074564849
Answer: 4000000074564849
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "town" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "John Wells" . ?e_1 <date_of_death> ?pv_1 . ?pv_1 <pred:date> "1998-01-11"^^xsd:date . ?e <TOID> ?pv .  }
Program:
function: Find
inputs: John Wells
function: FilterDate
dependencies: 0
inputs: date of death
1998-01-11
=
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: town
function: QueryAttr
dependencies: 3
inputs: TOID