Question: What is the number of mechanical waves that has a short name that is beat or that comes from United States of America?
Choices: 102
103
104
105
106
107
108
109
110
111
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "mechanical wave" .  { ?e <short_name> ?pv . ?pv <pred:value> "beat" .  } UNION { ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "United States of America" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: short name
beat
function: FilterConcept
dependencies: 1
inputs: mechanical wave
function: Find
inputs: United States of America
function: Relate
dependencies: 3
inputs: country of origin
backward
function: FilterConcept
dependencies: 4
inputs: mechanical wave
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 103