Question: How many Olympic Games were held in Moscow after 1980?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 0
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" . ?e <point_in_time> ?pv . ?pv <pred:year> ?v . FILTER ( ?v > 1980 ) . ?e <location> ?e_1 . ?e_1 <pred:name> "Moscow" . ?e_1 <twinned_administrative_body> ?e_2 . ?e_2 <pred:name> "Tel Aviv" .  }
Program:
function: FindAll
function: FilterYear
dependencies: 0
inputs: point in time
1980
>
function: FilterConcept
dependencies: 1
inputs: Summer Olympic Games
function: Find
inputs: Tel Aviv
function: Relate
dependencies: 3
inputs: twinned administrative body
backward
function: Find
inputs: Moscow
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: location
backward
function: FilterConcept
dependencies: 7
inputs: Summer Olympic Games
function: And
dependencies: 2
8
function: Count
dependencies: 9