Question: What number of products have a pronunciation audio Ka-puri.ogg or are used as food?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "product" .  { ?e <use> ?e_1 . ?e_1 <pred:name> "food" .  } UNION { ?e <pronunciation_audio> ?pv . ?pv <pred:value> "Ka-puri.ogg" .  } }
Program:
function: Find
inputs: food
function: Relate
dependencies: 0
inputs: use
backward
function: FilterConcept
dependencies: 1
inputs: product
function: FindAll
function: FilterStr
dependencies: 3
inputs: pronunciation audio
Ka-puri.ogg
function: FilterConcept
dependencies: 4
inputs: product
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2