Question: How many video game developers are from sovereign state, the origin country of The Manchurian Candidate (the one that mainly depicts Korean War)?
Choices:
21
22
23
24
25
26
27
28
29
30
Answer: 23
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "video game developer" . ?e <country> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_2 <country_of_origin> ?e_1 . ?e_2 <pred:name> "The Manchurian Candidate" . ?e_2 <main_subject> ?e_3 . ?e_3 <pred:name> "Korean War" .   }
Program:
function: Find
inputs: Korean War
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The Manchurian Candidate
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: country of origin
forward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: country
backward
function: FilterConcept
dependencies: 6
inputs: video game developer
function: Count
dependencies: 7