Question: What big city's population is over 5.3 and electorate is not 97000 (this statement's date is 2010-01-15)?
Choices:
Toledo
Halle (Saale)
Stuttgart
Aachen
Quezon City
Utrecht
Lyon
Dnipro
Makati
Cebu City
Answer: Makati
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "big city" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "5.3"^^xsd:double ) . ?e <electorate> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v_1 . FILTER ( ?v_1 != "97000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <electorate> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:date> "2010-01-15"^^xsd:date .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
5.3
>
function: FilterConcept
dependencies: 1
inputs: big city
function: FindAll
function: FilterNum
dependencies: 3
inputs: electorate
97000
!=
function: QFilterDate
dependencies: 4
inputs: point in time
2010-01-15
=
function: FilterConcept
dependencies: 5
inputs: big city
function: And
dependencies: 2
6
function: What
dependencies: 7