Question: what is the number of religious denominations that is Kath Soucie's religion or that has Twitter username LDSchurch
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> "religious denomination" .  { ?e_1 <religion> ?e . ?e_1 <pred:name> "Kath Soucie" .  } UNION { ?e <Twitter_username> ?pv . ?pv <pred:value> "LDSchurch" .  } }
Program:
function: Find
inputs: Kath Soucie
function: Relate
dependencies: 0
inputs: religion
forward
function: FilterConcept
dependencies: 1
inputs: religious denomination
function: FindAll
function: FilterStr
dependencies: 3
inputs: Twitter username
LDSchurch
function: FilterConcept
dependencies: 4
inputs: religious denomination
function: Or
dependencies: 2
5
function: Count
dependencies: 6