Question: How many male given names either have the Soundex of A223 or have a Dictionary of Medieval Names from European Sources entry of Paul?
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 <Soundex> ?pv . ?pv <pred:value> "A223" .  } UNION { ?e <Dictionary_of_Medieval_Names_from_European_Sources_entry> ?pv . ?pv <pred:value> "Paul" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Soundex
A223
function: FilterConcept
dependencies: 1
inputs: male given name
function: FindAll
function: FilterStr
dependencies: 3
inputs: Dictionary of Medieval Names from European Sources entry
Paul
function: FilterConcept
dependencies: 4
inputs: male given name
function: Or
dependencies: 2
5
function: Count
dependencies: 6