Question: Is the population size below 9400000 for the US city in Plymouth County that borders Barnstable County?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Program:
function: Find
inputs: Barnstable County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Plymouth County
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: located in the administrative territorial entity
backward
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: QueryAttr
dependencies: 5
inputs: population
function: VerifyNum
dependencies: 6
inputs: 9400000
<
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Plymouth County" . ?e_2 <shares_border_with> ?e_1 . ?e_2 <pred:name> "Barnstable County" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "9400000"^^xsd:double ) .  }
Answer: yes