Question: When did San Marino (that has a diplomatic relation with Taiwan) become a member of the United Nations?
Choices:
1945-10-24
1981-04-10
1992-03-02
1969-07-18
1792-09-21
1978-11-17
2008-03-23
1981-05-15
1959-06-24
1989-10-06
Program:
function: Find
inputs: Taiwan
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: San Marino
function: And
dependencies: 1
2
function: Find
inputs: United Nations
function: QueryRelationQualifier
dependencies: 3
4
inputs: member of
start time
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "San Marino" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> "Taiwan" . ?e_2 <pred:name> "United Nations" . ?e_1 <member_of> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <member_of> ; <pred:fact_t> ?e_2 ] <start_time> ?qpv .  }
Answer: 1992-03-02