Question: Does the big city whose NUTS code is DEE31 (the end time of this statement is 2007-12-31) have its local dialing code equal to 0240?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: no
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <NUTS_code> ?pv_1 . ?pv_1 <pred:value> "DEE31" . [ <pred:fact_h> ?e ; <pred:fact_r> <NUTS_code> ; <pred:fact_t> ?pv_1 ] <end_time> ?qpv . ?qpv <pred:date> "2007-12-31"^^xsd:date . ?e <local_dialing_code> ?pv . ?pv <pred:value> "0240" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: NUTS code
DEE31
function: QFilterDate
dependencies: 1
inputs: end time
2007-12-31
=
function: FilterConcept
dependencies: 2
inputs: big city
function: QueryAttr
dependencies: 3
inputs: local dialing code
function: VerifyStr
dependencies: 4
inputs: 0240