Question: Which Maryland county occupying over 120 square km has a population of 149,294?
Choices:
Charles County
Prince George's County
Allegany County
Frederick County
Howard County
Carroll County
Anne Arundel County
Baltimore County
Harford County
Cecil County
Answer: Charles County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maryland" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v > "120"^^xsd:double ) . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "149294"^^xsd:double .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
120 square kilometre
>
function: FilterConcept
dependencies: 1
inputs: county of Maryland
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
149294
=
function: FilterConcept
dependencies: 4
inputs: county of Maryland
function: And
dependencies: 2
5
function: What
dependencies: 6