Question: How many products are said to be the same as sucrose or whose pronunciation audio is Pa-ਦੁੱਧ.oga?
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_1 <said_to_be_the_same_as> ?e . ?e_1 <pred:name> "sucrose" .  } UNION { ?e <pronunciation_audio> ?pv . ?pv <pred:value> "Pa-ਦੁੱਧ.oga" .  } }
Program:
function: Find
inputs: sucrose
function: Relate
dependencies: 0
inputs: said to be the same as
forward
function: FilterConcept
dependencies: 1
inputs: product
function: FindAll
function: FilterStr
dependencies: 3
inputs: pronunciation audio
Pa-ਦੁੱਧ.oga
function: FilterConcept
dependencies: 4
inputs: product
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2