Question: How many male given names are the given name of Gary Ross (whose Munzinger IBA is 00000029164) or are the religion of the United Church of Christ?
Choices:
0
1
2
3
4
5
6
7
8
9
Answer: 1
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> "Gary Ross" . ?e_1 <Munzinger_IBA> ?pv . ?pv <pred:value> "00000029164" .  } UNION { ?e_1 <religion> ?e . ?e_1 <pred:name> "United Church of Christ" .  } }
Program:
function: Find
inputs: Gary Ross
function: FilterStr
dependencies: 0
inputs: Munzinger IBA
00000029164
function: Relate
dependencies: 1
inputs: given name
forward
function: FilterConcept
dependencies: 2
inputs: male given name
function: Find
inputs: United Church of Christ
function: Relate
dependencies: 4
inputs: religion
forward
function: FilterConcept
dependencies: 5
inputs: male given name
function: Or
dependencies: 3
6
function: Count
dependencies: 7