Question: Tell me the number of male given names that have the Soundex F636 or that is the Seventh-day Adventist Church religion
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> "male given name" .  { ?e <Soundex> ?pv . ?pv <pred:value> "F636" .  } UNION { ?e_1 <religion> ?e . ?e_1 <pred:name> "Seventh-day Adventist Church" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Soundex
F636
function: FilterConcept
dependencies: 1
inputs: male given name
function: Find
inputs: Seventh-day Adventist Church
function: Relate
dependencies: 3
inputs: religion
forward
function: FilterConcept
dependencies: 4
inputs: male given name
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2