Question: Does the river that's the namesake for Columbia County, population 49600, have a watershed occupying under 820000 square kilometers ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "river" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Columbia County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "49600"^^xsd:double . ?e <watershed_area> ?pv . ?pv <pred:unit> "square kilometre" . ?pv <pred:value> ?v . FILTER ( ?v < "820000"^^xsd:double ) .  }
Program:
function: Find
inputs: Columbia County
function: FilterNum
dependencies: 0
inputs: population
49600
=
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: river
function: QueryAttr
dependencies: 3
inputs: watershed area
function: VerifyNum
dependencies: 4
inputs: 820000 square kilometre
<