Question: Which county in Texas containing Greater Houston  has a population of 241481
Choices:
Collin County
McLennan County
Montgomery County
Cameron County
Brazoria County
Johnson County
Travis County
Jefferson County
Dallas County
Hidalgo County
Program:
function: Find
inputs: Greater Houston
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Texas
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: county of Texas
function: FindAll
function: FilterNum
dependencies: 6
inputs: population
241481
=
function: FilterConcept
dependencies: 7
inputs: county of Texas
function: And
dependencies: 5
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Texas" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_1 . ?e_2 <pred:name> "Greater Houston" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "241481"^^xsd:double .  }
Answer: McLennan County