Question: How many Winter Olympic Games were held before 2010?
Choices:
11
12
13
14
15
16
17
18
19
20
Answer: 15
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Winter Olympic Games" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v < 2010 ) .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
2010
<
function: FilterConcept
dependencies: 1
inputs: Winter Olympic Games
function: Count
dependencies: 2