Question: Tell me the number of chemical compounds that are said to be the same as a product that has pronunciation Auto De-Zucker.ogg (this statement was made in German language)
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "chemical compound" . ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "product" . ?e_1 <pronunciation_audio> ?pv . ?pv <pred:value> "De-Zucker.ogg" . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <pronunciation_audio> ; <pred:fact_t> ?pv ] <language_of_work_or_name> ?qpv . ?qpv <pred:value> "German" .   }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pronunciation audio
De-Zucker.ogg
function: QFilterStr
dependencies: 1
inputs: language of work or name
German
function: FilterConcept
dependencies: 2
inputs: product
function: Relate
dependencies: 3
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 4
inputs: chemical compound
function: Count
dependencies: 5