Question: What New Jersey county has the capital of Morristown and a population of 499397 (the point in time of this statement is 2013-07-01)?
Choices:
Bergen County
Cape May County
Burlington County
Hudson County
Monmouth County
Cumberland County
Hunterdon County
Gloucester County
Passaic County
Morris County
Answer: Morris County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of New Jersey" . ?e <capital> ?e_1 . ?e_1 <pred:name> "Morristown" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "499397"^^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 .  }
Program:
function: Find
inputs: Morristown
function: Relate
dependencies: 0
inputs: capital
backward
function: FilterConcept
dependencies: 1
inputs: county of New Jersey
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
499397
=
function: QFilterDate
dependencies: 4
inputs: point in time
2013-07-01
=
function: FilterConcept
dependencies: 5
inputs: county of New Jersey
function: And
dependencies: 2
6
function: What
dependencies: 7