Question: Which US city has an area larger than 50 square miles?
Choices:
Gadsden
Longview
Moscow
Westmoreland County
Winston-Salem
Haverhill
Shanxi
Durham
Rockville
Bradford
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: area
50 square mile
>
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: What
dependencies: 2
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v > "50"^^xsd:double ) .  }
Answer: Longview