Question: What is the end time for a legislative term that has a start time of 1815-03-04
Choices:
1984-06-29
1959-04-27
1651-09-03
1979-03-31
1976-12-31
1977
1992-02-26
1849-03-07
2013-11-27
1817-03-04
Answer: 1817-03-04
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1815-03-04"^^xsd:date . ?e <end_time> ?pv .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: start time
1815-03-04
=
function: FilterConcept
dependencies: 1
inputs: legislative term
function: QueryAttr
dependencies: 2
inputs: end time