Question: Did the namesake for Madison County, population 346892, die pre-2012 ?
Choices:
yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
Answer: yes
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "human" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Madison County" . ?e_1 <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "346892"^^xsd:double . ?e <date_of_death> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2012 ) .  }
Program:
function: Find
inputs: Madison County
function: FilterNum
dependencies: 0
inputs: population
346892
=
function: Relate
dependencies: 1
inputs: named after
forward
function: FilterConcept
dependencies: 2
inputs: human
function: QueryAttr
dependencies: 3
inputs: date of death
function: VerifyYear
dependencies: 4
inputs: 2012
<