Question: Which county of Texas has area equal to 2789 square kilometre and whose country is United States of America ?
Choices: El Paso County
Hidalgo County
Montgomery County
Dallas County
Cameron County
Fort Bend County
Galveston County
Brazoria County
Harris County
Collin County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Texas" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "2789"^^xsd:double . ?e <country> ?e_1 . ?e_1 <pred:name> "United States of America" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
2789 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: county of Texas
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: county of Texas
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: Montgomery County