Question: How many Summer Olympic Games saw Richard Thompson (citizen of Trinidad and Tobago) participating ?
Choices:
2
3
4
5
6
7
8
9
10
11
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" . ?e_1 <participant_of> ?e . ?e_1 <pred:name> "Richard Thompson" . ?e_1 <country_of_citizenship> ?e_2 . ?e_2 <pred:name> "Trinidad and Tobago" .   }
Program:
function: Find
inputs: Trinidad and Tobago
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: Richard Thompson
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: participant of
forward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Count
dependencies: 5