Question: How many animated characters are either called Jonah Hex in their native language or practice Unitarian Universalism (a 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> "animated character" .  { ?e <name_in_native_language> ?pv . ?pv <pred:value> "Jonah Hex" .  } UNION { ?e <religion> ?e_1 . ?e_1 <pred:name> "Unitarian Universalism" .  } }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: name in native language
Jonah Hex
function: FilterConcept
dependencies: 1
inputs: animated character
function: Find
inputs: Unitarian Universalism
function: Relate
dependencies: 3
inputs: religion
backward
function: FilterConcept
dependencies: 4
inputs: animated character
function: Or
dependencies: 2
5
function: Count
dependencies: 6
Answer: 1