Question: Is the population of the United States city that is an administrative division of Washington County (which has the capital Montpelier) greater than 4.3?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e_1 <contains_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Washington County" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> "Montpelier" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "4.3"^^xsd:double ) .  }
Program:
function: Find
inputs: Montpelier
function: Relate
dependencies: 0
inputs: capital
backward
function: Find
inputs: Washington County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: contains administrative territorial entity
forward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: population
function: VerifyNum
dependencies: 6
inputs: 4.3
>