Question: What number of TV series have more than 310 episodes?
Choices:
41
42
43
44
45
46
47
48
49
50
Answer: 45
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television series" . ?e <number_of_episodes> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> ?v . FILTER ( ?v > "310"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: number of episodes
310
>
function: FilterConcept
dependencies: 1
inputs: television series
function: Count
dependencies: 2