Question: I want to know the administrative territorial entity that has an area of exactly 880 square kilometre and that has Omaha.
Choices:
Delaware County
San Juan County
Douglas County
Kent County
Lee County
African Union
Greene County
United States Virgin Islands
Washoe County
Cass County
Answer: Douglas County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> "880"^^xsd:double . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Omaha" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
880 square kilometre
=
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Find
inputs: Omaha
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: What
dependencies: 6