Question: How many in Christianity are the religion of Howard Hughes or have the religion of Christian (the one that uses the language German)?
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> "Christianity" .  { ?e_1 <religion> ?e . ?e_1 <pred:name> "Howard Hughes" .  } UNION { ?e <religion> ?e_1 . ?e_1 <pred:name> "Christian" . ?e_1 <language_of_work_or_name> ?e_2 . ?e_2 <pred:name> "German" .  } }
Program:
function: Find
inputs: Howard Hughes
function: Relate
dependencies: 0
inputs: religion
forward
function: FilterConcept
dependencies: 1
inputs: Christianity
function: Find
inputs: German
function: Relate
dependencies: 3
inputs: language of work or name
backward
function: Find
inputs: Christian
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: religion
backward
function: FilterConcept
dependencies: 7
inputs: Christianity
function: Or
dependencies: 2
8
function: Count
dependencies: 9