Question: When was the Seventh-day Adventist Church no longer headquartered in Battle Creek, which is at an elevation of 256 meters?
Choices:
1903
1805-03-04
2011-05-13
1963-07-07
2002-01-01
2016-11-02
1337-01-01
1516-01-01
1871-01-01
1596
Answer: 1903
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Seventh-day Adventist Church" . ?e_2 <pred:name> "Battle Creek" . ?e_2 <elevation_above_sea_level> ?pv . ?pv <pred:unit> "metre" . ?pv <pred:value> "256"^^xsd:double . ?e_1 <headquarters_location> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <headquarters_location> ; <pred:fact_t> ?e_2 ] <end_time> ?qpv .  }
Program:
function: Find
inputs: Seventh-day Adventist Church
function: Find
inputs: Battle Creek
function: FilterNum
dependencies: 1
inputs: elevation above sea level
256 metre
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: headquarters location
end time