Question: How many male given names match that of Bono or have the Soundex G600?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 2
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "male given name" .  { ?e_1 <given_name> ?e . ?e_1 <pred:name> "Bono" .  } UNION { ?e <Soundex> ?pv . ?pv <pred:value> "G600" .  } }
Program:
function: Find
inputs: Bono
function: Relate
dependencies: 0
inputs: given name
forward
function: FilterConcept
dependencies: 1
inputs: male given name
function: FindAll
function: FilterStr
dependencies: 3
inputs: Soundex
G600
function: FilterConcept
dependencies: 4
inputs: male given name
function: Or
dependencies: 2
5
function: Count
dependencies: 6