Question: What is the subject of 'diplomatic relation' in 'Cuba (the one whose nominal GDP is 11405957317.0732 USD)  has a diplomatic relation with Taiwan,' ?
Choices:
Mexico–Nicaragua relations
Uganda–United States relations
Pennsylvania–West Virginia border
Azerbaijan–Ukraine relations
37th Academy Awards
Nauru–Russia relations
Brazil–Mexico relations
Austria–Saudi Arabia relations
Canada–Cyprus relations
Cuba–Taiwan relations
Answer: Cuba–Taiwan relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Cuba" . ?e_1 <nominal_GDP> ?pv . ?pv <pred:unit> "United States dollar" . ?pv <pred:value> "11405957317.0732"^^xsd:double . ?e_2 <pred:name> "Taiwan" . ?e_1 <diplomatic_relation> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Cuba
function: FilterNum
dependencies: 0
inputs: nominal GDP
11405957317.0732 United States dollar
=
function: Find
inputs: Taiwan
function: QueryRelationQualifier
dependencies: 1
2
inputs: diplomatic relation
statement is subject of