Question: What part of the city with the postal code of 2650 has a female population of 3697?
Choices:
West Jerusalem
American Samoa
state suburb
European Union
graduate student
world
Calhoun County
undergraduate student
European Russia
Sinai Peninsula
Answer: state suburb
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "2650" . ?e <female_population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "3697"^^xsd:double . [ <pred:fact_h> ?e ; <pred:fact_r> <female_population> ; <pred:fact_t> ?pv ] <applies_to_part> ?qpv .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: postal code
2650
function: FilterConcept
dependencies: 1
inputs: city
function: QueryAttrQualifier
dependencies: 2
inputs: female population
3697
applies to part