Question: Which administrative territorial entity occupying over 270 square km has Davenport as its capital?
Choices:
Merrimack County
Orange County
Pulaski County
Falkirk
African Union
Washoe County
Cobb County
Kent County
West Java
Scott County
Answer: Scott 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> ?v . FILTER ( ?v > "270"^^xsd:double ) . ?e <capital> ?e_1 . ?e_1 <pred:name> "Davenport" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
270 square kilometre
>
function: FilterConcept
dependencies: 1
inputs: administrative territorial entity
function: Find
inputs: Davenport
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: administrative territorial entity
function: And
dependencies: 2
5
function: What
dependencies: 6