Question: How many products have the pronunciation audio Pt-açúcar.ogg or are the products or materials produced by General Motors?
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> "product" .  { ?e <pronunciation_audio> ?pv . ?pv <pred:value> "Pt-açúcar.ogg" .  } UNION { ?e_1 <product_or_material_produced> ?e . ?e_1 <pred:name> "General Motors" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: pronunciation audio
Pt-açúcar.ogg
function: FilterConcept
dependencies: 1
inputs: product
function: Find
inputs: General Motors
function: Relate
dependencies: 3
inputs: product or material produced
forward
function: FilterConcept
dependencies: 4
inputs: product
function: Or
dependencies: 2
5
function: Count
dependencies: 6