Question: How many of Christianities' countries are the sovereign state that equals the country of captain (the one that is in the military branch United States Navy)?
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> "Christianity" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country> ?e_1 . ?e_2 <pred:name> "captain" . ?e_2 <military_branch> ?e_3 . ?e_3 <pred:name> "United States Navy" .   }
Program:
function: Find
inputs: United States Navy
function: Relate
dependencies: 0
inputs: military branch
backward
function: Find
inputs: captain
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: country
backward
function: FilterConcept
dependencies: 6
inputs: Christianity
function: Count
dependencies: 7