Question: Who is the head of a government that is supposedly the same as a prime minister and that's a head of the government of Cuba (the one that has a diplomatic relation with People's Republic of China)    ?
Choices:
Gary Cole
Leon Trotsky
Alex Borstein
George Martin
premier
Ringo Sheena
David A. Goodman
Ismaily SC
Corsica
56th Primetime Emmy Awards
Program:
function: Find
inputs: prime minister
function: Relate
dependencies: 0
inputs: said to be the same as
backward
function: FilterConcept
dependencies: 1
inputs: head of government
function: Find
inputs: People's Republic of China
function: Relate
dependencies: 3
inputs: diplomatic relation
forward
function: Find
inputs: Cuba
function: And
dependencies: 4
5
function: Relate
dependencies: 6
inputs: office held by head of government
forward
function: FilterConcept
dependencies: 7
inputs: head of government
function: And
dependencies: 2
8
function: What
dependencies: 9
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "head of government" . ?e <said_to_be_the_same_as> ?e_1 . ?e_1 <pred:name> "prime minister" .  ?e_2 <office_held_by_head_of_government> ?e . ?e_2 <pred:name> "Cuba" . ?e_3 <diplomatic_relation> ?e_2 . ?e_3 <pred:name> "People's Republic of China" .  }
Answer: premier