Question: How many port cities are twinned administrative bodies of the big city where Joseph Stalin worked?
Choices: 4
5
6
7
8
9
10
11
12
13
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "port city" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:instance_of> ?c_1 . ?c_1 <pred:name> "big city" . ?e_2 <work_location> ?e_1 . ?e_2 <pred:name> "Joseph Stalin" .   }
Program:
function: Find
inputs: Joseph Stalin
function: Relate
dependencies: 0
inputs: work location
forward
function: FilterConcept
dependencies: 1
inputs: big city
function: Relate
dependencies: 2
inputs: twinned administrative body
forward
function: FilterConcept
dependencies: 3
inputs: port city
function: Count
dependencies: 4
Answer: 4