Question: What is the topic of the statement that Morocco (that has a diplomatic relationship with Mexico) has a diplomatic relationship with the United Kingdom?
Choices:
Israel–Mexico relations
Angola–Vietnam relations
Russia–Thailand relations
Morocco–United Kingdom relations
Bangladesh–Cambodia relations
Czech Republic–Mongolia relations
86th Academy Awards
Australia–Paraguay relations
Premiership of Stephen Harper
Serbia–Sweden relations
Answer: Morocco–United Kingdom relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Morocco" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> "Mexico" . ?e_2 <pred:name> "United Kingdom" . ?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: Mexico
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Morocco
function: And
dependencies: 1
2
function: Find
inputs: United Kingdom
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
statement is subject of