Question: John Mills, who died on 1972-12-11, has what connection to Hamilton, population 134211?
Choices:
stated in
significant person
derivative work
family name
place of death
dissertation submitted to
narrator
director/manager
parent astronomical body
month of the year
Answer: place of death
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Mills" . ?e_1 <date_of_death> ?pv . ?pv <pred:date> "1972-12-11"^^xsd:date . ?e_2 <pred:name> "Hamilton" . ?e_2 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "134211"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: John Mills
function: FilterDate
dependencies: 0
inputs: date of death
1972-12-11
=
function: Find
inputs: Hamilton
function: FilterNum
dependencies: 2
inputs: population
134211
=
function: QueryRelation
dependencies: 1
3