Question: Does the Virginia county, that is the birthplace of James Monroe (the one whose ISNI is 0000 0001 0653 3105), have a population of less than 530000 (the point in time of this statement is 2013-07-01)?
Choices: yes
no
unknown
unknown
unknown
unknown
unknown
unknown
unknown
unknown
SPARQL: ASK { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Virginia" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "James Monroe" . ?e_1 <ISNI> ?pv_1 . ?pv_1 <pred:value> "0000 0001 0653 3105" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v < "530000"^^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: James Monroe
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0001 0653 3105
function: Relate
dependencies: 1
inputs: place of birth
forward
function: FilterConcept
dependencies: 2
inputs: county of Virginia
function: QueryAttrUnderCondition
dependencies: 3
inputs: population
point in time
2013-07-01
function: VerifyNum
dependencies: 4
inputs: 530000
<
Answer: yes