Question: How high above sea level is the city that's the capital of St. Clair County (population 264052)?
Choices:
51 metre
194 metre
269 metre
248 metre
157 metre
1790 metre
204 metre
160 metre
1125 metre
217 metre
Answer: 157 metre
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <capital> ?e . ?e_1 <pred:name> "St. Clair County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "264052"^^xsd:double . ?e <elevation_above_sea_level> ?pv .  }
Program:
function: Find
inputs: St. Clair County
function: FilterNum
dependencies: 0
inputs: population
264052
=
function: Relate
dependencies: 1
inputs: capital
forward
function: FilterConcept
dependencies: 2
inputs: city of the United States
function: QueryAttr
dependencies: 3
inputs: elevation above sea level