Question: Tell me the city in the USA that has a native label Racine and that has a population of not exactly 520000000 (the statement was made in 2010)
Choices:
Boston
Redding
Alexandria
Terre Haute
Pawtucket
Waukegan
Scottsdale
New Haven
Franklin
Racine
Answer: Racine
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <native_label> ?pv . ?pv <pred:value> "Racine" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "520000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv_1 ] <point_in_time> ?qpv . ?qpv <pred:year> 2010 .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: native label
Racine
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
520000000
!=
function: QFilterYear
dependencies: 4
inputs: point in time
2010
=
function: FilterConcept
dependencies: 5
inputs: city of the United States
function: And
dependencies: 2
6
function: What
dependencies: 7