Question: Which Maine county shares a border with Rockingham County (the one whose population is 297981), and has an area that is or is not equal to 860 square miles?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Rockingham County
function: FilterNum
dependencies: 0
inputs: population
297981
=
function: Relate
dependencies: 1
inputs: shares border with
forward
function: FilterConcept
dependencies: 2
inputs: county of Maine
function: QueryAttr
dependencies: 3
inputs: area
function: VerifyNum
dependencies: 4
inputs: 860 square mile
!=
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Maine" . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Rockingham County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "297981"^^xsd:double . ?e <area> ?pv . ?pv <pred:unit> "square mile" . ?pv <pred:value> ?v . FILTER ( ?v != "860"^^xsd:double ) .  }
Answer: yes