Question: Does the Indiana county named after James Monroe (the one that is educated at College of William & Mary), have a population greater than 800 (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 Indiana" . ?e <named_after> ?e_1 . ?e_1 <pred:name> "James Monroe" . ?e_1 <educated_at> ?e_2 . ?e_2 <pred:name> "College of William & Mary" .  ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "800"^^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: College of William & Mary
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: James Monroe
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: named after
backward
function: FilterConcept
dependencies: 4
inputs: county of Indiana
function: QueryAttrUnderCondition
dependencies: 5
inputs: population
point in time
2013-07-01
function: VerifyNum
dependencies: 6
inputs: 800
>
Answer: yes