Question: How many Summer Olympic Games took place in a republic whoe pronunciation audio is En-us-France.ogg (the language of this statement is American English) ?
Choices:
1
2
3
4
5
6
7
8
9
10
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "Summer Olympic Games" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "republic" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> "En-us-France.ogg" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "American English" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pronunciation audio
En-us-France.ogg
function: QFilterStr
dependencies: 1
inputs: language of work or name
American English
function: FilterConcept
dependencies: 2
inputs: republic
function: Relate
dependencies: 3
inputs: country
backward
function: FilterConcept
dependencies: 4
inputs: Summer Olympic Games
function: Count
dependencies: 5