Question: What is its ITU letter code for the sovereign state that has a diplomatic relations with Taiwan (the subject of this statement is Cyprus–Taiwan relations?
Choices:
TUV
CYP
DMA
UAE
GNB
AUS
CAN
MLA
SNG
E
Answer: CYP
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "sovereign state" . ?e <diplomatic_relation> ?e_1 . ?e_1 <pred:name> "Taiwan" .  [ <pred:fact_h> ?e ; <pred:fact_r> <diplomatic_relation> ; <pred:fact_t> ?e_1 ] <statement_is_subject_of> ?qpv . ?qpv <pred:value> "Cyprus–Taiwan relations" . ?e <ITU_letter_code> ?pv .  }
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: diplomatic relation
backward
function: QFilterStr
dependencies: 1
inputs: statement is subject of
Cyprus–Taiwan relations
function: FilterConcept
dependencies: 2
inputs: sovereign state
function: QueryAttr
dependencies: 3
inputs: ITU letter code