Question: Is the establishment date of the port city whose population is over 9900 on the date 1986-11-17 prior to the year 1741?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 > "9900"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> "1986-11-17"^^xsd:date . ?e <inception> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 1741 ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
9900
>
function: QFilterDate
dependencies: 1
inputs: point in time
1986-11-17
=
function: FilterConcept
dependencies: 2
inputs: port city
function: QueryAttr
dependencies: 3
inputs: inception
function: VerifyYear
dependencies: 4
inputs: 1741
<