Question: Which administrative territorial entity with a population count other than 900000000 on 2013-07-01 borders Berkshire County?
Choices:
Litchfield County
Hampden County
Rensselaer County
Douglas County
Hancock County
Hampshire County
Sussex County
Weber County
New London County
Dakota County
Answer: Litchfield County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "administrative territorial entity" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v != "900000000"^^xsd:double ) . [ <pred:fact_h> ?e ; <pred:fact_r> <population> ; <pred:fact_t> ?pv ] <point_in_time> ?qpv . ?qpv <pred:date> "2013-07-01"^^xsd:date . ?e_1 <shares_border_with> ?e . ?e_1 <pred:name> "Berkshire County" .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
900000000
!=
function: QFilterDate
dependencies: 1
inputs: point in time
2013-07-01
=
function: FilterConcept
dependencies: 2
inputs: administrative territorial entity
function: Find
inputs: Berkshire County
function: Relate
dependencies: 4
inputs: shares border with
forward
function: FilterConcept
dependencies: 5
inputs: administrative territorial entity
function: And
dependencies: 3
6
function: What
dependencies: 7