Question: What big city has a population that is less than 2900000000 (the point in time of this statement is 2010) and a Dewey Decimal Classification of 2--79493?
Choices:
Burbank
Ontario
Norwalk
Mainz
Los Angeles County
Pasadena
Saint Petersburg
Whittier
Wiesbaden
Aachen
Answer: Pasadena
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 < "2900000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 . ?e <Dewey_Decimal_Classification> ?pv_1 . ?pv_1 <pred:value> "2--79493" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
2900000000
<
function: QFilterYear
dependencies: 1
inputs: point in time
2010
=
function: FilterConcept
dependencies: 2
inputs: big city
function: FindAll
function: FilterStr
dependencies: 4
inputs: Dewey Decimal Classification
2--79493
function: FilterConcept
dependencies: 5
inputs: big city
function: And
dependencies: 3
6
function: What
dependencies: 7