Question: How many officials have jurisdiction over the sovereign state that has the capital Santiago (which is the twinned administrative body of Beijing)?
Choices:
0
1
2
3
4
5
6
7
8
9
Program:
function: Find
inputs: Beijing
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Santiago
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: capital
backward
function: FilterConcept
dependencies: 4
inputs: sovereign state
function: Relate
dependencies: 5
inputs: applies to jurisdiction
backward
function: FilterConcept
dependencies: 6
inputs: official
function: Count
dependencies: 7
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "official" . ?e <applies_to_jurisdiction> ?e_1 . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "sovereign state" . ?e_1 <capital> ?e_2 . ?e_2 <pred:name> "Santiago" . ?e_3 <twinned_administrative_body> ?e_2 . ?e_3 <pred:name> "Beijing" .   }
Answer: 0