Question: Did a legislative term, that began on 4th March 1813, end before 2008 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "legislative term" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1813-03-04"^^xsd:date . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2008 ) .  }
Program:
function: FindAll
function: FilterDate
dependencies: 0
inputs: start time
1813-03-04
=
function: FilterConcept
dependencies: 1
inputs: legislative term
function: QueryAttr
dependencies: 2
inputs: end time
function: VerifyYear
dependencies: 3
inputs: 2008
<