Question: The term of office of how many governors is over 3.9 years?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "governor" . ?e <term_length_of_office> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> ?v . FILTER ( ?v > "3.9"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: term length of office
3.9 year
>
function: FilterConcept
dependencies: 1
inputs: governor
function: Count
dependencies: 2