Question: Does the US capital of South Carolina have a population totaling under 610,000 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "state or insular area capital in the United States" . ?e_1 <capital> ?e . ?e_1 <pred:name> "South Carolina" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "610000"^^xsd:double ) .  }
Program:
function: Find
inputs: South Carolina
function: Relate
dependencies: 0
inputs: capital
forward
function: FilterConcept
dependencies: 1
inputs: state or insular area capital in the United States
function: QueryAttr
dependencies: 2
inputs: population
function: VerifyNum
dependencies: 3
inputs: 610000
<