Question: Did the war which started in 1990 end before 2006?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "war" . ?e <start_time> ?pv_1 . ?pv_1 <pred:year> 1990 . ?e <end_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2006 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: start time
1990
=
function: FilterConcept
dependencies: 1
inputs: war
function: QueryAttr
dependencies: 2
inputs: end time
function: VerifyYear
dependencies: 3
inputs: 2006
<