Question: How many male given names have a Soundex of L652 or are a common property of infection?
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> "L652" .  } UNION { ?e_1 <properties_for_this_type> ?e . ?e_1 <pred:name> "infection" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: Soundex
L652
function: FilterConcept
dependencies: 1
inputs: male given name
function: Find
inputs: infection
function: Relate
dependencies: 3
inputs: properties for this type
forward
function: FilterConcept
dependencies: 4
inputs: male given name
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 2