Question: What is the subject of a statement that Singapore (the one that is the release region of Silver Linings Playbook) has a diplomatic relation with France?
Choices:
Spain–Uruguay relations
death and state funeral of George H. W. Bush
Cameroon–Chad border
Germany–Luxembourg border
Liechtenstein–European Union relations
France–Trinidad and Tobago relations
United States–Vanuatu relations
France–Singapore relations
Kingdom of Yugoslavia
Iran–Taiwan relations
Answer: France–Singapore relations
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Singapore" . ?e_3 <film_release_region> ?e_1 . ?e_3 <pred:name> "Silver Linings Playbook" . ?e_2 <pred:name> "France" . ?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: Silver Linings Playbook
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Singapore
function: And
dependencies: 1
2
function: Find
inputs: France
function: QueryRelationQualifier
dependencies: 3
4
inputs: diplomatic relation
statement is subject of